mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-06-02 08:30:52 +00:00
X509: code cleanup
This commit is contained in:
parent
b96fc26dbc
commit
247d23f40e
|
@ -2378,11 +2378,7 @@ class X509
|
|||
|
||||
$spkac = ASN1::asn1map($decoded[0], Maps\SignedPublicKeyAndChallenge::MAP);
|
||||
|
||||
if (!isset($spkac) || $spkac === false) {
|
||||
$this->currentCert = false;
|
||||
return false;
|
||||
}
|
||||
if (!is_array($spkac)) {
|
||||
if (!isset($spkac) || !is_array($spkac)) {
|
||||
$this->currentCert = false;
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user