Subject: | Build fails with recent versions of OpenSSL |
SSLv2_method has been removed from OpenSSL libraries, resulting in the
following fault during make test:
Error: Can't load '/home/racke/.local/share/.cpan/build/Net-SSLeay-1.36-
UQFVn2/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay:
/home/racke/.local/share/.cpan/build/Net-SSLeay-1.36-
UQFVn2/blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol:
SSLv2_method at /home/racke/perl5/perlbrew/perls/perl-
5.12.3/lib/5.12.3/x86_64-linux/DynaLoader.pm line 200.
The attached patch removes this method from SSLeay.xs.
Regards
Racke
Subject: | ssleay.patch |
--- Net-SSLeay-1.36/SSLeay.xs 2010-01-30 21:34:13.000000000 +0100
+++ Net-SSLeay-1.36-fix/SSLeay.xs 2011-06-01 15:47:18.441397283 +0200
@@ -725,13 +725,6 @@
RETVAL
SSL_CTX *
-SSL_CTX_v2_new()
- CODE:
- RETVAL = SSL_CTX_new (SSLv2_method());
- OUTPUT:
- RETVAL
-
-SSL_CTX *
SSL_CTX_v3_new()
CODE:
RETVAL = SSL_CTX_new (SSLv3_method());
@@ -1822,9 +1815,6 @@
#endif
SSL_METHOD *
-SSLv2_method()
-
-SSL_METHOD *
SSLv3_method()
SSL_METHOD *