Skip Menu |
 

This queue is for tickets about the Net-SSLeay CPAN distribution.

Report information
The Basics
Id: 81940
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: paul [...] city-fan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.50
Fixed in: (no value)

Attachments


Subject: [PATCH] Net-SSLeay 1.50 fails with OpenSSL < 0.9.8f
Download (untitled) / with headers
text/plain 1.3k
Version 1.50 introduces support for function SSL_set_SSL_CTX but includes this unconditionally, resulting in an unresolved symbol with OpenSSL < 0.9.8f: $ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/local/*.t t/handle/local/*.t t/handle/local/05_use.................. # Failed test 'use Net::SSLeay::Handle;' # at t/handle/local/05_use.t line 8. # Tried to use 'Net::SSLeay::Handle'. # Error: Can't load '/builddir/build/BUILD/Net-SSLeay-1.50/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: /builddir/build/BUILD/Net-SSLeay-1.50/blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSL_set_SSL_CTX at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230. # at /builddir/build/BUILD/Net-SSLeay-1.50/blib/lib/Net/SSLeay/Handle.pm line 7 # Compilation failed in require at /builddir/build/BUILD/Net-SSLeay-1.50/blib/lib/Net/SSLeay/Handle.pm line 7. # BEGIN failed--compilation aborted at /builddir/build/BUILD/Net-SSLeay-1.50/blib/lib/Net/SSLeay/Handle.pm line 7. # Compilation failed in require at (eval 2) line 2. # BEGIN failed--compilation aborted at (eval 2) line 2. dubious Test returned status 1 (wstat 256, 0x100) # Looks like you failed 1 test of 1. DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay Attached patch fixes this.
Subject: Net-SSLeay-1.50-set_ssl_ctx.patch
--- SSLeay.xs +++ SSLeay.xs @@ -1609,9 +1609,14 @@ SSL_get_SSL_CTX(s) SSL * s +#if OPENSSL_VERSION_NUMBER >= 0x0090806fL +#define REM18 "NOTE: requires 0.9.8f+" + SSL_CTX * SSL_set_SSL_CTX(SSL *ssl, SSL_CTX* ctx) +#endif + long SSL_ctrl(ssl,cmd,larg,parg) SSL * ssl
Subject: Re: [rt.cpan.org #81940] [PATCH] Net-SSLeay 1.50 fails with OpenSSL < 0.9.8f
Date: Fri, 14 Dec 2012 06:00:01 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Download (untitled) / with headers
text/plain 2.5k
Hi Paul, Thanks. Committed in SVN 363. Do you think this deserves a new release? Cheers. On Thursday, December 13, 2012 06:38:52 AM you wrote: Show quoted text
> Thu Dec 13 06:38:49 2012: Request 81940 was acted upon. > Transaction: Ticket created by paul@city-fan.org > Queue: Net-SSLeay > Subject: [PATCH] Net-SSLeay 1.50 fails with OpenSSL < 0.9.8f > Broken in: 1.50 > Severity: (no value) > Owner: Nobody > Requestors: paul@city-fan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81940 > > > > Version 1.50 introduces support for function SSL_set_SSL_CTX but > includes this unconditionally, resulting in an unresolved symbol with > OpenSSL < 0.9.8f: > > $ make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/local/*.t > t/handle/local/*.t > t/handle/local/05_use.................. > # Failed test 'use Net::SSLeay::Handle;' > # at t/handle/local/05_use.t line 8. > # Tried to use 'Net::SSLeay::Handle'. > # Error: Can't load > '/builddir/build/BUILD/Net-SSLeay-1.50/blib/arch/auto/Net/SSLeay/SSLeay.so' > for module Net::SSLeay: > /builddir/build/BUILD/Net-SSLeay-1.50/blib/arch/auto/Net/SSLeay/SSLeay.so: > undefined symbol: SSL_set_SSL_CTX at > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230. > # at > /builddir/build/BUILD/Net-SSLeay-1.50/blib/lib/Net/SSLeay/Handle.pm line 7 > # Compilation failed in require at > /builddir/build/BUILD/Net-SSLeay-1.50/blib/lib/Net/SSLeay/Handle.pm line 7. > # BEGIN failed--compilation aborted at > /builddir/build/BUILD/Net-SSLeay-1.50/blib/lib/Net/SSLeay/Handle.pm line 7. > # Compilation failed in require at (eval 2) line 2. > # BEGIN failed--compilation aborted at (eval 2) line 2. > dubious > Test returned status 1 (wstat 256, 0x100) > # Looks like you failed 1 test of 1. > DIED. FAILED test 1 > Failed 1/1 tests, 0.00% okay > > Attached patch fixes this.
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
From: paul [...] city-fan.org
Download (untitled) / with headers
text/plain 338b
On Thu Dec 13 15:00:20 2012, mikem@open.com.au wrote: Show quoted text
> Thanks. Committed in SVN 363. > Do you think this deserves a new release?
I don't know, I suspect there's not a lot of users of brand new Net::SSLeay with such an old OpenSSL. Something that also might be worth doing would be making the POD conditional too, like the code. Paul.
Subject: Re: [rt.cpan.org #81940] [PATCH] Net-SSLeay 1.50 fails with OpenSSL < 0.9.8f
Date: Fri, 14 Dec 2012 15:38:18 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Download (untitled) / with headers
text/plain 1.1k
Hi Paul, OK, new version 1.51 sent to CPAN. Cheers. On Thursday, December 13, 2012 03:13:06 PM you wrote: Show quoted text
> Queue: Net-SSLeay > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81940 > > > On Thu Dec 13 15:00:20 2012, mikem@open.com.au wrote:
> > Thanks. Committed in SVN 363. > > Do you think this deserves a new release?
> > I don't know, I suspect there's not a lot of users of brand new > Net::SSLeay with such an old OpenSSL. > > Something that also might be worth doing would be making the POD > conditional too, like the code. > > Paul.
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
From: paul [...] city-fan.org
Download (untitled) / with headers
text/plain 236b
On Fri Dec 14 00:38:35 2012, mikem@open.com.au wrote: Show quoted text
> Hi Paul, > > OK, new version 1.51 sent to CPAN.
Thanks, that seems fine. Just one thing to note: the META.yml still lists "version:" as 1.49 rather than 1.51. No big deal really.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.