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
normal 3d7473e179 ext/openssl/ossl_ssl.c: raise if kwargs given in blocking mode
OpenSSL::SSL::SSLSocket#sysread does not accept kwargs in blocking
mode, inform users if they make an error.

* ext/openssl/ossl_ssl.c (ossl_ssl_read_internal):
  do not process kwargs in blocking mode
* test/openssl/test_ssl.rb: test sysread

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-24 17:44:01 +00:00
..
test_asn1.rb use assert_raise 2015-06-02 02:18:44 +00:00
test_bn.rb
test_buffering.rb use assert_raise 2015-06-02 02:18:44 +00:00
test_cipher.rb test_cipher.rb: ignore wrap mode erros 2015-02-13 02:06:31 +00:00
test_config.rb
test_digest.rb use assert_raise 2015-06-02 02:18:44 +00:00
test_engine.rb
test_fips.rb
test_hmac.rb
test_ns_spki.rb
test_ocsp.rb
test_pair.rb connect_nonblock supports "exception: false" 2015-04-12 01:41:51 +00:00
test_partial_record_read.rb
test_pkcs5.rb
test_pkcs7.rb
test_pkcs12.rb use assert_raise 2015-06-02 02:18:44 +00:00
test_pkey_dh.rb use assert_raise 2015-06-02 02:18:44 +00:00
test_pkey_dsa.rb
test_pkey_ec.rb
test_pkey_rsa.rb
test_random.rb test_random.rb: add 2015-02-12 09:36:55 +00:00
test_ssl.rb ext/openssl/ossl_ssl.c: raise if kwargs given in blocking mode 2015-06-24 17:44:01 +00:00
test_ssl_session.rb
test_x509cert.rb
test_x509crl.rb
test_x509ext.rb
test_x509name.rb
test_x509req.rb
test_x509store.rb
utils.rb