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
nahi be4f7bf512 * Make sure to clear $! when ignoring an exception
* ext/openssl/ossl.c (ossl_pem_passwd_cb0, ossl_verify_cb): 
  pem_passwd_cb and verify_cb ignores the exception raised in a 
  callback proc so it should clear $! for subsequent execution. 

  That's said, both subsequent processes for pem_passwd_cb and 
  verify_cb raises another exception before leaking $! to Ruby world.
  We cannot test this fix in Ruby land.

* test/openssl/test_pkey_rsa.rb
  (test_read_private_key_pem_pw_exception): Test for pem_passwd_cb + 
  exception.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-20 06:06:46 +00:00
..
ssl_server.rb
test_asn1.rb * ext/openssl/ossl_asn1.c: fix int_ossl_asn1_decode0_cons when being 2011-09-25 14:51:20 +00:00
test_bn.rb * ext/openssl/ossl_bn.c (GetBNPtr): add missing nil case. 2011-01-29 18:48:24 +00:00
test_buffering.rb * test/openssl/test_buffering.rb 2011-06-22 05:48:44 +00:00
test_cipher.rb Skip patented algorithms: IDEA and RC5 on NetBSD. 2011-09-20 07:18:37 +00:00
test_config.rb * test/openssl/test_config.rb: Commit missing file 2011-06-15 16:04:32 +00:00
test_digest.rb * test/openssl/digest.rb: remove MDC2 from test, it is not available 2011-06-13 11:32:43 +00:00
test_engine.rb * test/openssl/test_engine.rb: remove side effect of generic engine 2011-11-26 14:04:52 +00:00
test_hmac.rb drying up the requires in the openssl tests 2010-12-15 19:50:00 +00:00
test_ns_spki.rb * ext/openssl/ossl_ns_spki.c: Complete documentation. 2011-10-20 17:22:09 +00:00
test_ocsp.rb * test/openssl/test_ocsp.rb 2011-07-02 00:03:29 +00:00
test_pair.rb * ext/openssl/ossl.c (ossl_verify_cb): trap the exception from 2011-07-14 05:41:05 +00:00
test_pkcs5.rb * test/openssl/test_pkcs5.rb: add RFC 6070 tests for PBKDF2 with 2011-10-20 03:32:36 +00:00
test_pkcs7.rb drying up the requires in the openssl tests 2010-12-15 19:50:00 +00:00
test_pkcs12.rb * test/openssl/test_pkcs12.rb: Add test and intermediate certificates. 2011-07-27 00:31:43 +00:00
test_pkey_dh.rb * Release GVL while OpenSSL's public key generation. 2011-09-01 07:42:29 +00:00
test_pkey_dsa.rb * Release GVL while OpenSSL's public key generation. 2011-09-01 07:42:29 +00:00
test_pkey_ec.rb * ext/openssl/ossl.h: Introduced OSSL_BIO_reset macro for PEM/DER 2011-06-22 08:41:08 +00:00
test_pkey_rsa.rb * Make sure to clear $! when ignoring an exception 2011-12-20 06:06:46 +00:00
test_ssl.rb * test/openssl/test_ssl.rb (test_multibyte_read_write): start server 2011-10-22 11:35:58 +00:00
test_ssl_session.rb * test/openssl/test_ssl.rb: Move duplicated tests for SSL::Session to 2011-10-12 14:41:19 +00:00
test_x509cert.rb * test/openssl/test_ocsp.rb 2011-07-02 00:03:29 +00:00
test_x509crl.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
test_x509ext.rb drying up the requires in the openssl tests 2010-12-15 19:50:00 +00:00
test_x509name.rb * ext/openssl/ossl_x509name.c: Add X509::Name#hash_old as a wrapper 2011-06-23 13:51:55 +00:00
test_x509req.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
test_x509store.rb * test/openssl/test_x509store.rb (test_set_errors): Redhat is 2011-06-21 16:33:06 +00:00
utils.rb * ext/openssl/ossl.c (ossl_verify_cb): trap the exception from 2011-07-14 05:41:05 +00:00