vendored/puppet/lib/puppet/ssl/oids.rb in bolt-0.21.1 vs vendored/puppet/lib/puppet/ssl/oids.rb in bolt-0.21.2
- old
+ new
@@ -185,9 +185,9 @@
if exclusive and first_oid == second_oid
false
else
second_oid.index(first_oid) == 0
end
- rescue OpenSSL::ASN1::ASN1Error
+ rescue OpenSSL::ASN1::ASN1Error, TypeError
false
end
end