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?
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