dsully / perl-crypt-openssl-x509

Perl interface to OpenSSL's X509 module.
Other
25 stars 33 forks source link

checkend returns opposite of what is documented #2

Closed bnutzer closed 11 years ago

bnutzer commented 13 years ago

Hi,

Crypt::OpenSSL::X509::checkend returns the opposite of what is documented. E.g., for a certificate that expires tomorrow, $x509->checkend(1) returns false, while $x509->checkend(172800) returns true.

The documentation suggests the opposite.

Oh, yes, the code "works" correctly in that it does what the code says it should do. I'd rather suggest not to modify the code, but to modify/fix the documentation?

Thx

dsully commented 11 years ago

Thanks, will be fixed in the next release.