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
test_bn.rb
test_buffering.rb
test_cipher.rb
test_config.rb
test_digest.rb
test_engine.rb
test_hmac.rb
test_ns_spki.rb
test_ocsp.rb
test_pair.rb
test_pkcs5.rb
test_pkcs7.rb
test_pkcs12.rb
test_pkey_dh.rb
test_pkey_dsa.rb
test_pkey_ec.rb
test_pkey_rsa.rb * Make sure to clear $! when ignoring an exception 2011-12-20 06:06:46 +00:00
test_ssl.rb
test_ssl_session.rb
test_x509cert.rb
test_x509crl.rb
test_x509ext.rb
test_x509name.rb
test_x509req.rb
test_x509store.rb
utils.rb