summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2024-08-24 13:29:50 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-11-14 11:21:39 +0900
commita0f1f161452e9a8c3d017ffbfce5744c775b668f (patch)
tree03135fbe9a879e6921ba0a1596e47a6b8f4d26b4 /test/ruby
parent4e7e2e9e8914e1fcbe8410634393525a183b491c (diff)
asn1: fix ObjectId#==
Compare by the dotted decimal notation rather than the NID. OpenSSL::ASN1::ObjectId can store OIDs that are not registered in OpenSSL's internal table. NID is not defined for such an OID, but it is not an error. The == method also should not raise TypeError if the other object is not an instance of OpenSSL::ASN1::ObjectId. Fixes: https://github.com/ruby/openssl/issues/791
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions