Skip Menu |
 

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

Report information
The Basics
Id: 121086
Status: open
Priority: 0/
Queue: Net-SSLeay

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

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



Subject: d2i_X509_bio test failure with openssl-1.1.0e
Download (untitled) / with headers
text/plain 422b
Using openssl-1.1.0e, compiled with cl on Windows and configured with VC-WIN32, the test d2i_X509_bio from 33_x509_create_cert.t is failing: perl -I blib\lib -I blib\arch t\local\33_x509_create_cert.t ... not ok 123 - d2i_X509_bio Given my poor knowledge of openssl internals, I lazily skipped it for any openssl version >= 0x1010005f, but may I ask some experts to look closer into this. Thanks. Patch in attachement.
Subject: 33_x509_create_cert.t.diff
diff -Naur Net-SSLeay-1.81.old/t/local/33_x509_create_cert.t Net-SSLeay-1.81.new/t/local/33_x509_create_cert.t --- Net-SSLeay-1.81.old/t/local/33_x509_create_cert.t 2017-01-08 04:34:40.000000000 +0100 +++ Net-SSLeay-1.81.new/t/local/33_x509_create_cert.t 2017-04-12 13:40:02.505281900 +0200 @@ -295,5 +295,8 @@ my $x509_der = File::Spec->catfile('t', 'data', 'testcert_simple.crt.der'); ok(my $bio2 = Net::SSLeay::BIO_new_file($x509_der, 'r'), "BIO_new_file"); - ok(my $x509 = Net::SSLeay::d2i_X509_bio($bio2), "d2i_X509_bio"); + SKIP: { + skip 'd2i_X509_bio fails for openssl-1.1.0e and later', 1 unless Net::SSLeay::SSLeay < 0x1010005f; + ok(my $x509 = Net::SSLeay::d2i_X509_bio($bio2), "d2i_X509_bio"); + } }
Subject: Re: [rt.cpan.org #121086] d2i_X509_bio test failure with openssl-1.1.0e
Date: Wed, 12 Apr 2017 20:55:21 +0100
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Download (untitled) / with headers
text/plain 1.6k
Thanks. I won't be able to look at this for about 6 weeks Cheers Sent from my iPhone Show quoted text
> On 12 Apr 2017, at 1:07 pm, Jean-Damien Durand via RT <bug-Net-SSLeay@rt.cpan.org> wrote: > > Wed Apr 12 08:06:53 2017: Request 121086 was acted upon. > Transaction: Ticket created by JDDPAUSE > Queue: Net-SSLeay > Subject: d2i_X509_bio test failure with openssl-1.1.0e > Broken in: 1.81 > Severity: (no value) > Owner: Nobody > Requestors: JDDPAUSE@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=121086 > > > > Using openssl-1.1.0e, compiled with cl on Windows and configured with VC-WIN32, the test d2i_X509_bio from 33_x509_create_cert.t is failing: > > perl -I blib\lib -I blib\arch t\local\33_x509_create_cert.t > ... > not ok 123 - d2i_X509_bio > > Given my poor knowledge of openssl internals, I lazily skipped it for any openssl version >= 0x1010005f, but may I ask some experts to look closer into this. Thanks. > > Patch in attachement. > > diff -Naur Net-SSLeay-1.81.old/t/local/33_x509_create_cert.t Net-SSLeay-1.81.new/t/local/33_x509_create_cert.t --- Net-SSLeay-1.81.old/t/local/33_x509_create_cert.t 2017-01-08 04:34:40.000000000 +0100 +++ Net-SSLeay-1.81.new/t/local/33_x509_create_cert.t 2017-04-12 13:40:02.505281900 +0200 @@ -295,5 +295,8 @@ my $x509_der = File::Spec->catfile('t', 'data', 'testcert_simple.crt.der'); ok(my $bio2 = Net::SSLeay::BIO_new_file($x509_der, 'r'), "BIO_new_file"); - ok(my $x509 = Net::SSLeay::d2i_X509_bio($bio2), "d2i_X509_bio"); + SKIP: { + skip 'd2i_X509_bio fails for openssl-1.1.0e and later', 1 unless Net::SSLeay::SSLeay < 0x1010005f; + ok(my $x509 = Net::SSLeay::d2i_X509_bio($bio2), "d2i_X509_bio"); + } }


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.