1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/openssl
emboss 50ba64ab87 * ext/openssl/ossl_ssl.c: Allow disabling client-side renegotiation.
* test/openssl/test_ssl.rb: Simple tests for this.

  Client-side renegotiation is still considered problematic, even
  when used in the context of secure renegotiation (RI, RFC 5746).
  The changes allow users to either completely disable client
  renegotiation on the server, or to specify a maximum number of
  handshakes allowed in total. The number of total handshakes is
  counted in a callback set as SSL_set_info_callback. If the
  maximum number of handshakes is exceeded an error will be raised
  We do not support renegotiation in the OpenSSL extension, therefore
  this feature can only be tested externally.
  The feature is opt-in, the default setting will be to allow
  unlimited client renegotiation, as was the case before.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-26 00:56:33 +00:00
..
lib * ext/openssl/lib/openssl/ssl.rb: add hostname to "hostname does not 2012-04-30 00:11:44 +00:00
deprecation.rb * ext/openssl/deprecation.rb (OpenSSL.check_func): check if header is 2012-05-01 05:18:02 +00:00
extconf.rb * ext/openssl/extconf.rb: Use Logging::message instead of message. 2012-05-18 19:51:58 +00:00
openssl_missing.c
openssl_missing.h
ossl.c * Make sure to clear $! when ignoring an exception 2011-12-20 06:06:46 +00:00
ossl.h
ossl_asn1.c * ext/openssl/ossl_asn1.c: raise TypeError when trying to encode nil 2012-03-28 22:53:18 +00:00
ossl_asn1.h
ossl_bio.c
ossl_bio.h
ossl_bn.c
ossl_bn.h
ossl_cipher.c * remove trailing spaces. 2012-02-09 03:25:07 +00:00
ossl_cipher.h
ossl_config.c
ossl_config.h
ossl_digest.c
ossl_digest.h
ossl_engine.c
ossl_engine.h
ossl_hmac.c
ossl_hmac.h
ossl_ns_spki.c
ossl_ns_spki.h
ossl_ocsp.c
ossl_ocsp.h
ossl_pkcs5.c * ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): suppress warnings. 2012-04-22 12:43:53 +00:00
ossl_pkcs5.h
ossl_pkcs7.c * ext/openssl/ossl_pkcs7.c: fix crash when parsing garbage data. 2012-03-29 01:27:17 +00:00
ossl_pkcs7.h
ossl_pkcs12.c
ossl_pkcs12.h
ossl_pkey.c * variable.c (trace_ev): Removed "not reached" comment as this line is 2012-04-14 00:36:26 +00:00
ossl_pkey.h
ossl_pkey_dh.c
ossl_pkey_dsa.c * ext/openssl/ossl_pkey_dsa.c: remove redundant colon from error 2011-11-23 23:15:09 +00:00
ossl_pkey_ec.c * encoding.c (rb_enc_codepoint_len): Use UNREACHABLE to avoid "control 2012-04-13 23:45:37 +00:00
ossl_pkey_rsa.c Refix Bug #6094: use unsigned long integer literal. 2012-03-23 02:33:05 +00:00
ossl_rand.c
ossl_rand.h
ossl_ssl.c * ext/openssl/ossl_ssl.c: Allow disabling client-side renegotiation. 2012-05-26 00:56:33 +00:00
ossl_ssl.h
ossl_ssl_session.c
ossl_version.h
ossl_x509.c
ossl_x509.h
ossl_x509attr.c
ossl_x509cert.c * ext/openssl/ossl_x509cert.c: Fix doc typo. 2012-03-31 03:07:53 +00:00
ossl_x509crl.c
ossl_x509ext.c
ossl_x509name.c * remove trailing spaces. 2012-02-09 03:25:07 +00:00
ossl_x509req.c
ossl_x509revoked.c
ossl_x509store.c * ext/openssl/ossl_x509store.c: Add class documentation for 2012-02-02 22:54:10 +00:00
ruby_missing.h * ext/openssl/extconf.rb: remove checks for available functions. 2011-11-26 01:49:36 +00:00