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