mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-04 18:48:24 +01:00
X509: change return value for validateSignature when cert isn't loaded
This commit is contained in:
parent
d95f5946eb
commit
d52f217512
@ -2002,7 +2002,7 @@ class File_X509 {
|
||||
function validateSignature($caonly = true)
|
||||
{
|
||||
if (!is_array($this->currentCert) || !isset($this->signatureSubject)) {
|
||||
return 0;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* TODO:
|
||||
|
Loading…
Reference in New Issue
Block a user