Subject: | CRL checking like documented segfaults - documentation wrong, patch included |
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)