core: remove debug log statement (#6029)

Signed-off-by: cpanato <ctadeu@gmail.com>
This commit is contained in:
Carlos Tadeu Panato Junior 2022-04-01 00:00:46 +02:00 committed by GitHub
parent 9b7f292e12
commit b23ab96261
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -24,8 +24,6 @@ import (
"unicode"
jose "gopkg.in/square/go-jose.v2"
blog "github.com/letsencrypt/boulder/log"
)
// Package Variables Variables
@ -104,8 +102,6 @@ func KeyDigest(key crypto.PublicKey) (Sha256Digest, error) {
default:
keyDER, err := x509.MarshalPKIXPublicKey(key)
if err != nil {
logger := blog.Get()
logger.Debugf("Problem marshaling public key: %s", err)
return Sha256Digest{}, err
}
return sha256.Sum256(keyDER), nil