Subject: | Bug in error method |
Date: | Mon, 24 Oct 2016 12:48:56 +0200 |
To: | bug-Crypt-X509-CRL [...] rt.cpan.org |
From: | Daniele Vitantoni <daniele.vitantoni [...] staff.aruba.it> |
Hi. I'm using the Crypt-X509-CRL library.
When I found an issue, the code die
/$decoded//=//Crypt//:://X509//:://CRL//->//new//(//crl
//=>////$crl//);////if////(////$decoded//->//error
//)////{////die////"Error on parsing Certificate Revocation List:
"//,////$decoded//->//error//;////}/
Now, i call for the first time the
/Crypt//:://X509//:://CRL//->//new/method with a well formed /crl
//=>////$crl////1/ argument, and i get the $decoded hash.
If i call for a second time the
/Crypt//:://X509//:://CRL//->//new/method//with a wrong/$crl2/ content,
i get an error.
If i call for a third time the
/Crypt//:://X509//:://CRL//->//new/// method with the same /$crl1/
argument, the $decoded->error variable is not updated and the code
continue to die.
Can you verify or give me some explanations?
Thank you