components/ruby/ruby-19/patches/09-ext_openssl_extconf_rb.patch
changeset 5477 5eabbdf042bc
parent 5476 f1df93f6aff1
child 5478 2b166911e3bb
--- a/components/ruby/ruby-19/patches/09-ext_openssl_extconf_rb.patch	Thu Feb 18 08:19:13 2016 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-Fixes problem with deprecated SSLv2 functions in Solaris.
-Patch was developed in-house; it is Solaris specific and
-will not be contributed upstream.
-
---- ruby-1.9.3-p551-orig/ext/openssl/extconf.rb	2012-09-08 23:39:23.000000000 -0700
-+++ ruby-1.9.3-p551/ext/openssl/extconf.rb	2015-07-10 14:00:47.789098073 -0700
-@@ -101,9 +101,12 @@ have_func("OBJ_NAME_do_all_sorted")
- have_func("SSL_SESSION_get_id")
- have_func("SSL_SESSION_cmp")
- have_func("OPENSSL_cleanse")
-+=begin
-+These functions are deprecated in Solaris
- have_func("SSLv2_method")
- have_func("SSLv2_server_method")
- have_func("SSLv2_client_method")
-+=end
- 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