diff options
author | rhe <rhe@ruby-lang.org> | 2016-06-07 07:52:24 +0000 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-06-09 15:05:21 +0900 |
commit | 46417f85483ffc722e9bf8d3ed1ca59c29a46b4e (patch) | |
tree | 96a0d7d023ecabf576438aea65ea6e793643cecc /lib | |
parent | 0a793878c57ac7789c86098b7aa65d48ae8e2432 (diff) | |
download | ruby-openssl-46417f85483ffc722e9bf8d3ed1ca59c29a46b4e.tar.gz |
openssl: add SSL::SSLContext#security_level{=,}
* ext/openssl/extconf.rb: Check for SSL_CTX_get_security_level().
OpenSSL 1.1.0 introduced "security level".
[ruby-core:75225] [Feature #12324]
* ext/openssl/ossl_ssl.c (ossl_sslctx_{get,set}_security_level): Add
SSLContext#security_level and #security_level=.
* test/openssl/test_ssl.rb (test_security_level): Add test. ...but this
doesn't actually test it. Because #security_level= is necessary in
order to run other tests on OpenSSL 1.1.0, go without tests for now.
Will fix after converting SSLContext#key= and #cert= to normal methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions