diff --git a/kms/pkcs11/pkcs11.go b/kms/pkcs11/pkcs11.go index 5d4076a2..9ac806d8 100644 --- a/kms/pkcs11/pkcs11.go +++ b/kms/pkcs11/pkcs11.go @@ -345,5 +345,5 @@ func findCertificate(ctx P11, rawuri string) (*x509.Certificate, error) { if cert == nil { return nil, errors.Errorf("certificate with uri %s not found", rawuri) } - + return cert, nil }