mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 03:42:40 +00: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