Skip Menu |

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

Report information
The Basics
Id: 73755
Status: resolved
Priority: 0/
Queue: Crypt-SSLeay

People
Owner: nanis [...] runu.moc.invalid
Requestors: DOHERTY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.58
Fixed in: 0.59_01



Subject: If Crypt::SSLeay can't verify hostnames, then why does that constitute a test failure?
# Failed test 'HEAD https://rt.cpan.org/' # at t/02-live.t line 120. # HTTP status = 500 Can't connect to rt.cpan.org:443 (Crypt-SSLeay can't verify hostnames) # This may not be the fault of the module, https://rt.cpan.org/ may be down # Looks like you failed 1 test of 4. t/02-live.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/4 subtests If verifying hostnames isn't a function Crypt::SSLeay performs, then this shouldn't be a fail.
Hello: The test fails because the default behavior in LWP::UserAgent changed to verifying hostnames but I did not make the required changes in Crypt-SSLeay to enable that. The message we get is from the $ua and not the test script. The quick fix is to change the test script and set options on the $ua. The real fix would be to update Crypt::SSLeay to verify hostnames. This is just FYI. I prefer the latter solution. Let's see if I can get around to doing that in this decade. -- Sinan On Wed Jan 04 21:36:33 2012, DOHERTY wrote: Show quoted text
> # Failed test 'HEAD https://rt.cpan.org/' > # at t/02-live.t line 120. > # HTTP status = 500 Can't connect to rt.cpan.org:443 (Crypt-SSLeay can't > verify hostnames) > # This may not be the fault of the module, https://rt.cpan.org/ may be > down > # Looks like you failed 1 test of 4. > t/02-live.t ..... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/4 subtests > > If verifying hostnames isn't a function Crypt::SSLeay performs, then this > shouldn't be a fail.
Please take a look at 0.59_1 available on CPAN now at <http://search.cpan.org/~nanis/Crypt-SSLeay/> and see if it resolves this issue. Thank you for your patience. -- Sinan