Fix missing return.

This commit is contained in:
Mariano Cano 2021-01-28 19:53:25 -08:00
parent 84a3c8c984
commit 50e9018a44

View file

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