components/ruby/ruby-21/patches/09-ext_openssl_extconf_rb.patch
branchs11-update
changeset 4633 25cb67608c0d
equal deleted inserted replaced
4631:e7ecc0560529 4633:25cb67608c0d
       
     1 Fixes problem with deprecated SSLv2 functions in Solaris.
       
     2 Patch was developed in-house; it is Solaris specific and
       
     3 will not be contributed upstream.
       
     4 
       
     5 --- ruby-2.1.6-orig/ext/openssl/extconf.rb	2013-10-27 23:32:24.000000000 -0700
       
     6 +++ ruby-2.1.6/ext/openssl/extconf.rb	2015-07-10 13:55:14.910884056 -0700
       
     7 @@ -100,9 +100,12 @@ have_func("OBJ_NAME_do_all_sorted")
       
     8  have_func("SSL_SESSION_get_id")
       
     9  have_func("SSL_SESSION_cmp")
       
    10  have_func("OPENSSL_cleanse")
       
    11 +=begin
       
    12 +These functions are deprecated in Solaris
       
    13  have_func("SSLv2_method")
       
    14  have_func("SSLv2_server_method")
       
    15  have_func("SSLv2_client_method")
       
    16 +=end
       
    17  have_func("TLSv1_1_method")
       
    18  have_func("TLSv1_1_server_method")
       
    19  have_func("TLSv1_1_client_method")