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) function validateSignature($caonly = true)
{ {
if (!is_array($this->currentCert) || !isset($this->signatureSubject)) { if (!is_array($this->currentCert) || !isset($this->signatureSubject)) {
return 0; return NULL;
} }
/* TODO: /* TODO: