Skip Menu |
 

This queue is for tickets about the IO-Socket-SSL CPAN distribution.

Report information
The Basics
Id: 76148
Status: resolved
Priority: 0/
Queue: IO-Socket-SSL

People
Owner: Nobody in particular
Requestors: chip [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.62
Fixed in: (no value)



Subject: self-test fail - dhe.t claims accept() failed, but it didn't.
Download (untitled) / with headers
text/plain 308b
Self-test failure in dhe.t. It claims accept failed, but strace shows this is a lie. $ perl t/dhe.t 1..3 ok # [server] Server Initialization not ok # [server] accept failed: $ perl -MIO::Socket::SSL -e 'printf "%f, %x\n", $Net::SSLeay::VERSION, Net::SSLeay::OPENSSL_VERSION_NUMBER()' 1.450000, 1000007f
Download (untitled) / with headers
text/plain 899b
Am Do 29. Mär 2012, 18:21:10, CHIPS schrieb: Show quoted text
> Self-test failure in dhe.t. It claims accept failed, but strace shows > this is a lie. > > $ perl t/dhe.t > 1..3 > ok # [server] Server Initialization > not ok # [server] accept failed: > > $ perl -MIO::Socket::SSL -e 'printf "%f, %x\n", $Net::SSLeay::VERSION, > Net::SSLeay::OPENSSL_VERSION_NUMBER()' > 1.450000, 1000007f
strange. Test succeeds for me with same version of IO::Socket::SSL (1.62), Net::SSLeay (1.45) and OpenSSL (1.0.0g release). Platform Linux 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 20:45:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux The claim, that accept failed should be right, but it's not the system accept(2) what is failing but the SSL accept, you can't see that from strace. What options did you use to build your openssl? Did you disable MD5 or SSLv2 Support? openssl ciphers command should probably tell you more.
might be fixed with 1.68 which disabled sslv2 per default, please retry.
From: Daniel Johnson
Download (untitled) / with headers
text/plain 286b
On Mon May 07 09:02:49 2012, SULLR wrote: Show quoted text
> might be fixed with 1.68 which disabled sslv2 per default, please retry.
I get the same test failure with 1.68 on Mac OS X 10.7.3, perl 5.12.3 and openssl 1.0.1a. With 1.67 t/dhe.t just hangs forever and all tests pass with 1.66 and earlier.
Download (untitled) / with headers
text/plain 127b
Show quoted text
> With 1.67 t/dhe.t just hangs forever and all tests pass with 1.66 and > earlier.
I've reenabled the fix from 1.66 in 1.69.


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.