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/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
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/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
test_digest.rb use assert_raise 2015-06-02 02:18:44 +00:00
test_engine.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
test_fips.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
test_hmac.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
test_ns_spki.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
test_ocsp.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
test_pair.rb connect_nonblock supports "exception: false" 2015-04-12 01:41:51 +00:00
test_partial_record_read.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
test_pkcs5.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
test_pkcs7.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
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/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
test_pkey_ec.rb * test/openssl/test_pkey_ec.rb: ignored tests with old OpenSSL. 2014-12-13 09:33:33 +00:00
test_pkey_rsa.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
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/openssl/test_ssl_session.rb (OpenSSL#test_ctx_client_session_cb): 2015-01-02 06:10:07 +00:00
test_x509cert.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
test_x509crl.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
test_x509ext.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
test_x509name.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
test_x509req.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
test_x509store.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00
utils.rb test/openssl: skip old OpenSSL 2014-12-13 03:05:43 +00:00