mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-03 20:38:29 +00:00
Tests/RSA: update test for master branch
This commit is contained in:
parent
6ca7323401
commit
39b66d512d
@ -935,9 +935,9 @@ gPiUWOPatVkt7+Bs3h5Ramxh7XjBOXeulmCpGSynXNcpZ/06+vofGi/2MlpQZNhH
|
|||||||
Ao8eayMp6FcvNucIpUndo1X8dKMv3Y26ZQIDAQAB
|
Ao8eayMp6FcvNucIpUndo1X8dKMv3Y26ZQIDAQAB
|
||||||
-----END RSA PUBLIC KEY-----';
|
-----END RSA PUBLIC KEY-----';
|
||||||
|
|
||||||
$this->assertTrue($rsa->loadKey($key));
|
$this->assertTrue($rsa->load($key));
|
||||||
$this->assertInternalType('string', $rsa->getPublicKey());
|
$this->assertInternalType('string', $rsa->getPublicKey());
|
||||||
$this->assertFalse($rsa->loadKey('zzz'));
|
$this->assertFalse($rsa->load('zzz'));
|
||||||
$this->assertFalse($rsa->getPublicKey());
|
$this->assertFalse($rsa->getPublicKey());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user