mirror of
https://github.com/ruby/ruby.git
synced 2025-09-19 10:33:58 +02:00
* ext/openssl/ossl_ssl.c: Support disabling OpenSSL compression.
* test/openssl/test_ssl.rb: Add a test for it. Thanks to Eric Wong for the patch. [Ruby 1.9 - Feature #5183] [ruby-core:38911] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
63ad065026
commit
1be5789eed
3 changed files with 19 additions and 0 deletions
|
@ -1996,6 +1996,9 @@ Init_ossl_ssl()
|
|||
ossl_ssl_def_const(OP_NO_TLSv1);
|
||||
#if defined(SSL_OP_NO_TICKET)
|
||||
ossl_ssl_def_const(OP_NO_TICKET);
|
||||
#endif
|
||||
#if defined(SSL_OP_NO_COMPRESSION)
|
||||
ossl_ssl_def_const(OP_NO_COMPRESSION);
|
||||
#endif
|
||||
ossl_ssl_def_const(OP_PKCS1_CHECK_1);
|
||||
ossl_ssl_def_const(OP_PKCS1_CHECK_2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue