Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

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



Subject: IO-Socket-SSL: t/sni.t and t/sni_verify.t failing against Perl 5 blead
Tonight I attempted to install this library against Perl 5 blead. Using 'cpanm', I got test failures like this: ##### [IO-Socket-SSL-2.053] 522 $ ~/testing/blead/bin/prove -I~/testing/blead/lib -Iblib/lib -v t/sni.t t/sni.t .. 1..17 not ok # SSL_cert_file certs/server2-cert.pem can't be used: No such file or directory at /home/jkeenan/.cpanm/work/1516583216.5321/IO-Socket-SSL-2.053/blib/lib/IO/Socket/SSL.pm line 2256. Dubious, test returned 1 (wstat 256, 0x100) Failed 17/17 subtests Test Summary Report ------------------- t/sni.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Parse errors: Bad plan. You planned 17 tests but ran 1. Files=1, Tests=1, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.04 cusr 0.00 csys = 0.05 CPU) Result: FAIL [IO-Socket-SSL-2.053] 523 $ ~/testing/blead/bin/prove -I~/testing/blead/lib -Iblib/lib -v t/sni_verify.t t/sni_verify.t .. 1..17 not ok # SSL_cert_file certs/server2-cert.pem can't be used: No such file or directory at /home/jkeenan/.cpanm/work/1516583216.5321/IO-Socket-SSL-2.053/blib/lib/IO/Socket/SSL.pm line 2256. Dubious, test returned 1 (wstat 256, 0x100) Failed 17/17 subtests Test Summary Report ------------------- t/sni_verify.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Parse errors: Bad plan. You planned 17 tests but ran 1. Files=1, Tests=1, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.05 cusr 0.00 csys = 0.07 CPU) Result: FAIL ##### I subsequently ran these files through the Perl debugger. There I got output like this: ##### DB<1> 1..17 main::(t/sni_verify.t:21): my $server = IO::Socket::SSL->new( main::(t/sni_verify.t:22): LocalAddr => '127.0.0.1', main::(t/sni_verify.t:23): Listen => 2, main::(t/sni_verify.t:24): ReuseAddr => 1, main::(t/sni_verify.t:25): SSL_server => 1, main::(t/sni_verify.t:26): SSL_ca_file => "certs/test-ca.pem", main::(t/sni_verify.t:27): SSL_cert_file => { main::(t/sni_verify.t:28): 'server.local' => 'certs/server-cert.pem', main::(t/sni_verify.t:29): 'server2.local' => 'certs/server2-cert.pem', main::(t/sni_verify.t:30): 'smtp.mydomain.local' => "certs/server-wildcard.pem", main::(t/sni_verify.t:31): '' => "certs/server-wildcard.pem", DB<1> not ok # SSL_cert_file certs/server2-cert.pem can't be used: No such file or directory at blib/lib/IO/Socket/SSL.pm line 2256. ##### As this library has many other CPAN libraries dependent upon it, it would be appreciated if you could address this problem as soon as possible. Thank you very much. Jim Keenan
Show quoted text
> not ok # SSL_cert_file certs/server2-cert.pem can't be used: No such > file or directory at /home/jkeenan/.cpanm/work/1516583216.5321/IO- > Socket-SSL-2.053/blib/lib/IO/Socket/SSL.pm line 2256.
There were some newly created certificates missing in the MANIFEST. Should be fixed in the just released version 2.054.
On Mon Jan 22 00:58:12 2018, SULLR wrote: Show quoted text
>
> > not ok # SSL_cert_file certs/server2-cert.pem can't be used: No such > > file or directory at /home/jkeenan/.cpanm/work/1516583216.5321/IO- > > Socket-SSL-2.053/blib/lib/IO/Socket/SSL.pm line 2256.
> > There were some newly created certificates missing in the MANIFEST. > Should be fixed in the just released version 2.054.
Confirmed. Thank you for your prompt attention to this matter. This permits IO-Socket-SSL and its reverse dependencies to be installable against Perl 5 blead. Thank you very much. Jim Keenan