1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/openssl
Kazuki Yamaguchi 57a57e6e56 [ruby/openssl] test/openssl/test_ssl: revise a test case for client_cert_cb
The current test_client_auth_public_key test case checks that supplying
a PKey containing only public components through client_cert_cb will
cause handshake to fail. While this is a correct behavior as a whole,
the assertions are misleading in the sense that giving a public key is
causing the failure. Actually, the handshake fails because a client
certificate is not supplied at all, as a result of ArgumentError that is
silently ignored.

Rename the test case to test_client_cert_cb_ignore_error and simplify it
to clarify what it is testing.

https://github.com/ruby/openssl/commit/785b5569fc
2021-03-16 19:16:11 +09:00
..
fixtures/pkey
test_asn1.rb
test_bn.rb
test_buffering.rb
test_cipher.rb [ruby/openssl] User lower case cipher names for maximum compatibility 2021-03-16 19:16:11 +09:00
test_config.rb [ruby/openssl] config: revert to C implementation of OpenSSL::Config 2021-03-16 19:16:10 +09:00
test_digest.rb
test_engine.rb
test_fips.rb
test_hmac.rb [ruby/openssl] hmac: implement base64digest methods 2021-03-16 19:16:11 +09:00
test_kdf.rb
test_ns_spki.rb
test_ocsp.rb
test_ossl.rb
test_pair.rb
test_pkcs7.rb
test_pkcs12.rb
test_pkey.rb [ruby/openssl] Add compare? method to OpenSSL::PKey that wraps EVP_PKEY_cmp. 2021-03-16 19:16:11 +09:00
test_pkey_dh.rb [ruby/openssl] pkey: add PKey::PKey#derive 2021-03-16 19:16:11 +09:00
test_pkey_dsa.rb
test_pkey_ec.rb [ruby/openssl] pkey/ec: deprecate OpenSSL::PKey::EC::Point#mul(ary, ary [, bn]) 2021-03-16 19:16:11 +09:00
test_pkey_rsa.rb
test_random.rb
test_ssl.rb [ruby/openssl] test/openssl/test_ssl: revise a test case for client_cert_cb 2021-03-16 19:16:11 +09:00
test_ssl_session.rb
test_ts.rb
test_x509attr.rb
test_x509cert.rb
test_x509crl.rb
test_x509ext.rb
test_x509name.rb
test_x509req.rb
test_x509store.rb
ut_eof.rb
utils.rb [ruby/openssl] pkey: have PKey.read parse PEM-encoded DHParameter 2021-03-16 19:16:10 +09:00