Skip to content

Commit

Permalink
Redirect for when the cert is not found.
Browse files Browse the repository at this point in the history
Signed-off-by: John McCrae <[email protected]>
  • Loading branch information
John McCrae committed May 18, 2022
1 parent ca41ef7 commit f317f13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/win32/certstore/store_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def cert_get(certificate_thumbprint)
validate_thumbprint(certificate_thumbprint)
thumbprint = update_thumbprint(certificate_thumbprint)
cert_pem = get_cert_pem(thumbprint)
return cert_pem if cert_pem == "Certificate Not Found"
cert_pem = format_pem(cert_pem)
verify_certificate(cert_pem)
build_openssl_obj(cert_pem)
Expand Down

0 comments on commit f317f13

Please sign in to comment.