diff options
| author | Kazuki Yamaguchi <k@rhe.jp> | 2024-08-24 13:29:50 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-11-14 11:21:39 +0900 |
| commit | a0f1f161452e9a8c3d017ffbfce5744c775b668f (patch) | |
| tree | 03135fbe9a879e6921ba0a1596e47a6b8f4d26b4 /test/ruby/test_array.rb | |
| parent | 4e7e2e9e8914e1fcbe8410634393525a183b491c (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/test_array.rb')
0 files changed, 0 insertions, 0 deletions
