From 4116e2e50cad92d445b9f0156999a3712934d206 Mon Sep 17 00:00:00 2001 From: sevan Date: Wed, 14 Oct 2015 18:41:42 +0000 Subject: Missed new addition in previous commit Add checks for the presence of SSLv3 in OpenSSL/LibreSSL - obtained from http://www.libressl.org/patches.html --- lang/ruby18-base/patches/patch-ext_openssl_extconf.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lang/ruby18-base/patches/patch-ext_openssl_extconf.rb (limited to 'lang') diff --git a/lang/ruby18-base/patches/patch-ext_openssl_extconf.rb b/lang/ruby18-base/patches/patch-ext_openssl_extconf.rb new file mode 100644 index 00000000000..95fde1122de --- /dev/null +++ b/lang/ruby18-base/patches/patch-ext_openssl_extconf.rb @@ -0,0 +1,16 @@ +$NetBSD: patch-ext_openssl_extconf.rb,v 1.1 2015/10/14 18:41:42 sevan Exp $ + +Check for SSLv3 support as it may nolonger be available. + +--- ext/openssl/extconf.rb.orig Sat Oct 10 17:37:29 2015 ++++ ext/openssl/extconf.rb +@@ -103,6 +103,9 @@ end + have_func("SSLv2_method") + have_func("SSLv2_server_method") + have_func("SSLv2_client_method") ++have_func("SSLv3_method") ++have_func("SSLv3_server_method") ++have_func("SSLv3_client_method") + unless have_func("SSL_set_tlsext_host_name", ['openssl/ssl.h']) + have_macro("SSL_set_tlsext_host_name", ['openssl/ssl.h']) && $defs.push("-DHAVE_SSL_SET_TLSEXT_HOST_NAME") + end -- cgit v1.2.3