From 0d0067f3d03ef1bedf0a1e9da66606a381c77d7c Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Tue, 26 Apr 2016 16:29:40 +0900 Subject: ext/openssl: add SSLContext#security_level, #security_level= OpenSSL 1.1.0 introduced "security level" and these methods deal with it. This patch includes many test changes: setting the level to 0. The default security level is 1 and this prohibits aNULL ciphers. --- ext/openssl/extconf.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/openssl/extconf.rb') diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index 6f312220a6..5c3ba84e1c 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -128,6 +128,7 @@ have_func("X509_up_ref") have_func("X509_CRL_up_ref") have_func("X509_STORE_up_ref") have_func("SSL_CTX_get_ciphers") +have_func("SSL_CTX_get_security_level") have_func_like("SSL_CTX_set_min_proto_version", "openssl/ssl.h") have_func("SSL_SESSION_up_ref") have_func("EVP_PKEY_up_ref") -- cgit v1.2.3