]> Cypherpunks repositories - gostls13.git/commit
[dev.boringcrypto] crypto/internal/boring: add MarshalBinary/UnmarshalBinary to hashes
authorRuss Cox <rsc@golang.org>
Wed, 6 Dec 2017 07:47:26 +0000 (02:47 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 6 Dec 2017 18:33:50 +0000 (18:33 +0000)
commit3e52f22ecedebc4cdf9671ab7edb22047a02094b
tree66369118fe7cbccd1ec700ca4bfaed1663408854
parent5379f7847f94694c7905605596f4f1f55b1be59b
[dev.boringcrypto] crypto/internal/boring: add MarshalBinary/UnmarshalBinary to hashes

Go 1.10 expects hash.Hash implementations to have these. Make it so.

Tested by src/hash/marshal_test.go.

Change-Id: I9df366e31fe20e79385d5dbde7060b01b68c54df
Reviewed-on: https://go-review.googlesource.com/82139
Reviewed-by: Adam Langley <agl@golang.org>
src/crypto/internal/boring/sha.go