1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-11-30 04:39:02 +01:00

Merge remote-tracking branch 'macdabby/master'

This commit is contained in:
terrafrost 2016-04-03 21:10:42 -05:00
commit 2a1ee1107a

View File

@ -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);