crypto: make certificate parsing optional for crypto api (#3711)

This commit is contained in:
Jens L
2022-10-01 00:06:00 +02:00
committed by GitHub
parent 4f08a9424a
commit 44e4f2e561
12 changed files with 88 additions and 5 deletions

View File

@ -48,7 +48,7 @@ func (cs *CryptoStore) getFingerprint(uuid string) string {
cs.log.WithField("uuid", uuid).WithError(err).Warning("Failed to fetch certificate's fingerprint")
return ""
}
return kp.FingerprintSha256
return kp.GetFingerprintSha256()
}
func (cs *CryptoStore) Fetch(uuid string) error {