Skip to content

Commit 6c85c96

Browse files
authored
Update RSAParametersTest: set configuration for imported parameters to use RSA
1 parent 67a6602 commit 6c85c96

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/RSAParametersTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ public function canExportKeysAndImportToFile() : void
6565
// read previously exported parameters
6666
$reader = new RsaParametersReader($locator);
6767
$parameters2 = $reader->read();
68+
$parameters2->setConfig([
69+
'private_key_type' => OPENSSL_KEYTYPE_RSA,
70+
'private_key_bits' => 2048
71+
]);
6872

6973

7074
// create new instance of RSA CSP with imported parameters

0 commit comments

Comments
 (0)