crypto: fix typo

This commit is contained in:
permor 2024-04-16 00:25:45 +09:00
parent a9b825b376
commit dc4c2ae87e

View file

@ -48,7 +48,7 @@ func randSig() []byte {
}
// tests for malleability
// highest bit of signature ECDSA s value must be 0, in the 33th byte
// the highest bit of signature ECDSA s value must be 0, in the 33th byte
func compactSigCheck(t *testing.T, sig []byte) {
var b = int(sig[32])
if b < 0 {