Skip Menu |
 

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

Report information
The Basics
Id: 39570
Status: resolved
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: Steffen_Ullrich [...] genua.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 1.31_01
  • 1.31_02
  • 1.32
  • 1.33_01
  • 1.34
  • 1.35
Fixed in: (no value)



Subject: CRL checking like documented segfaults - documentation wrong, patch included
Download (untitled) / with headers
text/plain 627b
Hi, while working on http://rt.cpan.org/Ticket/Display.html?id=39277 (Bug report for IO::Socket::SSL crash with SSL_check_crl) I've noticed, that the wrong code in IO::Socket::SSL comes probably from the Net::SSLeay man page. There it states: | You can enable Net::SSLeay CRL checking like this: | &Net::SSLeay::X509_STORE_CTX_set_flags | (&Net::SSLeay::CTX_get_cert_store($ssl), | &Net::SSLeay::X509_V_FLAG_CRL_CHECK); Which would cause a segmentation fault. It should be: - &Net::SSLeay::X509_STORE_CTX_set_flags + &Net::SSLeay::X509_STORE_set_flags Regards, Steffen (cpan: SULLR)
Download (untitled) / with headers
text/plain 739b
Hi, now fixed in svn. Cheers. On Wed Sep 24 04:00:00 2008, SULLR wrote: Show quoted text
> Hi, > while working on http://rt.cpan.org/Ticket/Display.html?id=39277 > (Bug report for IO::Socket::SSL crash with SSL_check_crl) I've > noticed, that the wrong code in IO::Socket::SSL comes probably from > the Net::SSLeay man page. There it states: > > | You can enable Net::SSLeay CRL checking like this: > | &Net::SSLeay::X509_STORE_CTX_set_flags > | (&Net::SSLeay::CTX_get_cert_store($ssl), > | &Net::SSLeay::X509_V_FLAG_CRL_CHECK); > > Which would cause a segmentation fault. It should be: > > - &Net::SSLeay::X509_STORE_CTX_set_flags > + &Net::SSLeay::X509_STORE_set_flags > > Regards, > Steffen (cpan: SULLR)


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.