diff --git a/doc/next/6-stdlib/99-minor/crypto/sha256/62384.md b/doc/next/6-stdlib/99-minor/crypto/sha256/62384.md index b89fea4c78..d5efbc9152 100644 --- a/doc/next/6-stdlib/99-minor/crypto/sha256/62384.md +++ b/doc/next/6-stdlib/99-minor/crypto/sha256/62384.md @@ -1 +1 @@ -The value returned by [sha256.New] and [sha256.New224] now also implements the [encoding.BinaryAppender] interface +The values returned by [sha256.New] and [sha256.New224] now also implement the [encoding.BinaryAppender] interface diff --git a/doc/next/6-stdlib/99-minor/crypto/sha512/62384.md b/doc/next/6-stdlib/99-minor/crypto/sha512/62384.md index 18831b233a..5f4a44c144 100644 --- a/doc/next/6-stdlib/99-minor/crypto/sha512/62384.md +++ b/doc/next/6-stdlib/99-minor/crypto/sha512/62384.md @@ -1 +1 @@ -The value returned by [sha512.New], [sha512.New384], [sha512.New512_224] and [sha512.New512_256] now also implements the [encoding.BinaryAppender] interface. +The values returned by [sha512.New], [sha512.New384], [sha512.New512_224] and [sha512.New512_256] now also implement the [encoding.BinaryAppender] interface. diff --git a/src/crypto/md5/md5_test.go b/src/crypto/md5/md5_test.go index c5d5accb8a..c445b10832 100644 --- a/src/crypto/md5/md5_test.go +++ b/src/crypto/md5/md5_test.go @@ -112,7 +112,7 @@ func TestGoldenMarshal(t *testing.T) { continue } - if string(state) != g.halfState { + if string(stateAppend) != g.halfState { t.Errorf("md5(%q) stateAppend = %q, want %q", g.in, stateAppend, g.halfState) continue }