[Bug 1222521] New: perl-Net-SSLeay-1.68-1.fc23 does not provide Net::SSLeay::CTX_v3_new() when built against openssl > 1:1.0.2a-1.fc23

bugzilla at redhat.com bugzilla at redhat.com
Mon May 18 12:41:12 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1222521

            Bug ID: 1222521
           Summary: perl-Net-SSLeay-1.68-1.fc23 does not provide
                    Net::SSLeay::CTX_v3_new() when built against openssl >
                    1:1.0.2a-1.fc23
           Product: Fedora
           Version: rawhide
         Component: perl-Net-SSLeay
          Assignee: paul at city-fan.org
          Reporter: ppisar at redhat.com
        QA Contact: extras-qa at fedoraproject.org
                CC: jose.p.oliveira.oss at gmail.com, kasal at ucw.cz,
                    paul at city-fan.org, perl-devel at lists.fedoraproject.org



After upgrading openssl from 1:1.0.1k-7.fc23 to 1:1.0.2a-1.fc23 _and_
rebuilding perl-Net-SSLeay-1.68-1.fc23, it's not possible to use
Net::SSLeay::CTX_v3_new():

$ 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, thus Net-SSLeay stops providing SSL_CTX_v3_new().

This Net-SSLeay mistake causes failing POE-Component-SSLify tests
(https://rt.cpan.org/Public/Bug/Display.html?id=104493).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the perl-devel mailing list