ruby-changes:19307
From: iwamatsu <ko1@a...>
Date: Tue, 26 Apr 2011 07:07:17 +0900 (JST)
Subject: [ruby-changes:19307] Ruby:r31346 (trunk): * ext/openssl/extconf.rb: Should check SSLv2_*method.
iwamatsu 2011-04-26 06:45:33 +0900 (Tue, 26 Apr 2011) New Revision: 31346 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31346 Log: * ext/openssl/extconf.rb: Should check SSLv2_*method. openssl compiled with "no-ssl2" the extconf don't fail when running `make' having this compilation errors. Patched by Laurent Arnoud. fixes #4562, #4556 Modified files: trunk/ChangeLog trunk/ext/openssl/extconf.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 31345) +++ ChangeLog (revision 31346) @@ -1,3 +1,10 @@ +Mon Apr 25 21:31:36 2011 Nobuhiro Iwamatsu <iwamatsu@n...> + + * ext/openssl/extconf.rb: Should check SSLv2_*method. + openssl compiled with "no-ssl2" the extconf don't fail + when running `make' having this compilation errors. + Patched by Laurent Arnoud. fixes #4562, #4556 + Mon Apr 25 20:53:32 2011 Tajima, Akio <artonx@y...> * win32/win32.c (kill): accept 0 only sig is SIGINT #4596 Index: ext/openssl/extconf.rb =================================================================== --- ext/openssl/extconf.rb (revision 31345) +++ ext/openssl/extconf.rb (revision 31346) @@ -100,6 +100,9 @@ have_func("SSL_SESSION_get_id") have_func("SSL_SESSION_cmp") have_func("OPENSSL_cleanse") +have_func("SSLv2_method") +have_func("SSLv2_server_method") +have_func("SSLv2_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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/