Subject: | Can't locate auto/Net/SSLeay/CTX_v3_new.al with OpenSSL-1.0.2a |
Hello,
I experience this failure after building Net-SSLeay-1.68 against OpenSSL-1.0.2a:
$ perl -Iblib/{arch,lib} -MNet::SSLeay -e 'Net::SSLeay::CTX_v3_new()'
Can't locate auto/Net/SSLeay/CTX_v3_new.al in @INC (@INC contains: blib/arch blib/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at -e line 1.
The reason is in SSLeay.xs:
#ifndef OPENSSL_NO_SSL3
#if OPENSSL_VERSION_NUMBER < 0x10002000L
SSL_CTX *
SSL_CTX_v3_new()
CODE:
RETVAL = SSL_CTX_new (SSLv3_method());
OUTPUT:
RETVAL
#endif
#endif
The OPENSSL_NO_SSL3 is not defined, but the OPENSSL_VERSION_NUMBER increases to 0x1000201fL in case OpenSSL 1.0.2a, thus Net-SSLeay stops providing SSL_CTX_v3_new().
I know SSLv3 is going to be deprecated, but was that a reason for the macro condition?