mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-13 00:46:31 +00:00
set publicExponent to false instead of unsetting
This commit is contained in:
parent
2ae82a1bc7
commit
89a73161cb
@ -966,7 +966,7 @@ class RSA
|
||||
if (!$rsa->load($key, $type)) {
|
||||
return false;
|
||||
}
|
||||
unset($rsa->publicExponent);
|
||||
$rsa->publicExponent = false;
|
||||
|
||||
// don't overwrite the old key if the new key is invalid
|
||||
$this->load($rsa);
|
||||
|
Loading…
Reference in New Issue
Block a user