ruby/test/openssl
Kazuki Yamaguchi a0f1f16145 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
2024-11-14 11:21:39 +09:00
..
fixtures/pkey [ruby/openssl] Fix test_pkey_dsa.rb in FIPS. 2024-03-27 12:16:11 +09:00
test_asn1.rb asn1: fix ObjectId#== 2024-11-14 11:21:39 +09:00
test_bn.rb [ruby/openssl] make bn shareable when frozen 2024-11-13 07:25:51 +00:00
test_buffering.rb
test_cipher.rb [ruby/openssl] cipher: fix buffer overflow in Cipher#update 2024-05-02 16:26:11 +09:00
test_config.rb
test_digest.rb [ruby/openssl] Add OpenSSL::Digest.digests to get a list of available digests 2024-04-30 15:05:50 +00:00
test_engine.rb
test_fips.rb
test_hmac.rb
test_kdf.rb
test_ns_spki.rb
test_ocsp.rb [ruby/openssl] test/openssl/test_ocsp.rb: fix flaky test 2024-01-17 17:13:16 +00:00
test_ossl.rb Make optional benchmark test in OpenSSL::OSSL#test_memcmp_timing 2024-08-29 17:37:44 +09:00
test_pair.rb [ruby/openssl] Add SSLSocket#readbyte 2024-07-03 08:54:18 +00:00
test_pkcs7.rb [ruby/openssl] pkcs7: remove default cipher from PKCS7.encrypt 2024-10-31 08:31:16 +00:00
test_pkcs12.rb [ruby/openssl] Fix test_create_with_mac_iter accidently setting keytype not maciter 2024-06-05 00:45:53 +00:00
test_pkey.rb [ruby/openssl] Remove test_ed25519_not_approved_on_fips. 2024-08-16 17:10:23 +00:00
test_pkey_dh.rb
test_pkey_dsa.rb [ruby/openssl] test/openssl/test_pkey_dsa.rb: skip all tests in FIPS mode 2024-08-06 06:38:03 +00:00
test_pkey_ec.rb
test_pkey_rsa.rb [ruby/openssl] Fix test_pkey_rsa.rb in FIPS. 2024-09-05 08:41:30 +00:00
test_provider.rb [ruby/openssl] Fix test_provider.rb in FIPS. 2024-09-06 16:58:18 +00:00
test_random.rb
test_ssl.rb [ruby/openssl] Add SSLSocket#readbyte 2024-07-03 08:54:18 +00:00
test_ssl_session.rb
test_ts.rb [ruby/openssl] Add to_text for PKCS7 and Timestamp::Response 2024-05-08 09:39:13 +00:00
test_x509attr.rb [ruby/openssl] x509attr: avoid using OpenSSL::ASN1 internals in #value= 2024-07-24 16:50:01 +00:00
test_x509cert.rb [ruby/openssl] x509: fix handling of multiple URIs in Certificate#crl_uris 2024-11-14 11:21:39 +09:00
test_x509crl.rb
test_x509ext.rb
test_x509name.rb
test_x509req.rb [ruby/openssl] Only CSR version 1 (encoded as 0) is allowed by PKIX standards 2024-04-26 16:55:15 +00:00
test_x509store.rb
ut_eof.rb [ruby/openssl] Add SSLSocket#readbyte 2024-07-03 08:54:18 +00:00
utils.rb