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:
Matthew McPherrin 2024-01-24 17:23:08 -05:00 committed by GitHub
parent e46ca79366
commit 2f114f8a9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -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: