lib/fido_metadata/client.rb in fido_metadata-0.3.0 vs lib/fido_metadata/client.rb in fido_metadata-0.4.0
- old
+ new
@@ -87,10 +87,10 @@
uris = extract_crl_distribution_points(certificates)
crls = uris.compact.uniq.map do |uri|
begin
get(uri)
- rescue Net::ProtoServerError
+ rescue Net::ProtocolError
# TODO: figure out why test endpoint specifies a missing and unused CRL in the cert chain, and see if this
# rescue can be removed. If the CRL is used, OpenSSL error 3 (unable to get certificate CRL) will raise.
nil
end
end