mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 11:37:33 +00:00
Merge branch '2.0'
This commit is contained in:
commit
9cf93a02b3
@ -958,7 +958,7 @@ class RSA
|
|||||||
function setPrivateKey($key = false, $type = false)
|
function setPrivateKey($key = false, $type = false)
|
||||||
{
|
{
|
||||||
if ($key === false && !empty($this->publicExponent)) {
|
if ($key === false && !empty($this->publicExponent)) {
|
||||||
$rsa->publicExponent = false;
|
$this->publicExponent = false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -350,6 +350,7 @@ Z2sKniRCcDT1ZP4=
|
|||||||
$this->assertTrue($result);
|
$this->assertTrue($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
public function testPKCS1EncryptionChange()
|
public function testPKCS1EncryptionChange()
|
||||||
{
|
{
|
||||||
$rsa = new RSA();
|
$rsa = new RSA();
|
||||||
|
Loading…
Reference in New Issue
Block a user