crypto/sha256 must be imported

Otherwise, go-digest panics (panic: sha256 not available).

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
Kazuyoshi Kato 2022-08-16 23:55:14 +00:00
parent adc7d5b2e9
commit 9d286baedf

View File

@ -23,6 +23,7 @@ import (
"bufio"
"bytes"
"context"
_ "crypto/sha256"
"io"
"testing"