Fix doc comment on core.KeyDigest (#7281)
This functionality was changed in https://github.com/letsencrypt/boulder/pull/4745 but the doc wasn't updated.
This commit is contained in:
parent
e46ca79366
commit
2f114f8a9b
|
|
@ -94,8 +94,7 @@ func Fingerprint256(data []byte) string {
|
|||
|
||||
type Sha256Digest [sha256.Size]byte
|
||||
|
||||
// KeyDigest produces a Base64-encoded SHA256 digest of a
|
||||
// provided public key.
|
||||
// KeyDigest produces the SHA256 digest of a provided public key.
|
||||
func KeyDigest(key crypto.PublicKey) (Sha256Digest, error) {
|
||||
switch t := key.(type) {
|
||||
case *jose.JSONWebKey:
|
||||
|
|
|
|||
Loading…
Reference in New Issue