Merge pull request #15679 from shapeshed/patch-1

crypto: Fix comment typo
pull/15686/head
Péter Szilágyi 7 years ago committed by GitHub
commit 1f2176dedc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      crypto/crypto.go

@ -79,7 +79,7 @@ func ToECDSA(d []byte) (*ecdsa.PrivateKey, error) {
return toECDSA(d, true)
}
// ToECDSAUnsafe blidly converts a binary blob to a private key. It should almost
// ToECDSAUnsafe blindly converts a binary blob to a private key. It should almost
// never be used unless you are sure the input is valid and want to avoid hitting
// errors due to bad origin encoding (0 prefixes cut off).
func ToECDSAUnsafe(d []byte) *ecdsa.PrivateKey {

Loading…
Cancel
Save