components/ruby/ruby-23/patches/04-ext_openssl_extconf_rb.patch
changeset 7469 422c29c822ab
parent 4632 8152228598dc
equal deleted inserted replaced
7468:1dec92bd1dbd 7469:422c29c822ab
       
     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.3.1-orig/ext/openssl/extconf.rb	2016-04-11 22:29:12.000000000 -0700
       
     6 +++ ruby-2.3.1/ext/openssl/extconf.rb	2016-09-14 14:00:35.000000000 -0700
       
     7 @@ -97,12 +97,18 @@ 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 +=begin
       
    18 +Do not include for Solaris.
       
    19  have_func("SSLv3_method")
       
    20  have_func("SSLv3_server_method")
       
    21  have_func("SSLv3_client_method")
       
    22 +=end
       
    23  have_func("TLSv1_1_method")
       
    24  have_func("TLSv1_1_server_method")
       
    25  have_func("TLSv1_1_client_method")