mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-11 17:38:53 +00:00
Tests/RSA: adjustments for 2.0
This commit is contained in:
parent
8e7acd8842
commit
6499451d4b
@ -229,7 +229,7 @@ ZQIDAQAB
|
||||
|
||||
public function testPubKeyPssWithoutParams()
|
||||
{
|
||||
$rsa = new Crypt_RSA();
|
||||
$rsa = new RSA();
|
||||
|
||||
// extracted from a SubjectPublicKeyInfo of a CSR created by OpenSSL
|
||||
$key = '-----BEGIN PUBLIC KEY-----
|
||||
@ -249,7 +249,7 @@ AwEAAQ==
|
||||
|
||||
public function testPrivateKeyPssWithoutParams()
|
||||
{
|
||||
$rsa = new Crypt_RSA();
|
||||
$rsa = new RSA();
|
||||
|
||||
$key = '-----BEGIN PRIVATE KEY-----
|
||||
MIIEugIBADALBgkqhkiG9w0BAQoEggSmMIIEogIBAAKCAQEA0c89/m2NOYQe1C/O
|
||||
|
Loading…
Reference in New Issue
Block a user