1
0
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:
terrafrost 2013-07-26 15:40:16 -05:00
parent d95f5946eb
commit d52f217512

View File

@ -2002,7 +2002,7 @@ class File_X509 {
function validateSignature($caonly = true)
{
if (!is_array($this->currentCert) || !isset($this->signatureSubject)) {
return 0;
return NULL;
}
/* TODO: