Skip to content

Commit

Permalink
Avoid RC4 use in another test
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Aug 4, 2021
1 parent a80ae97 commit 503146a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/openssl/tests/openssl_open_basic.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $data = "openssl_open() test";
$pub_key = "file://" . __DIR__ . "/public.key";
$priv_key = "file://" . __DIR__ . "/private_rsa_1024.key";
$wrong = "wrong";
$method = "RC4";
$method = "AES-128-ECB";

openssl_seal($data, $sealed, $ekeys, array($pub_key, $pub_key, $pub_key), $method);
openssl_open($sealed, $output, $ekeys[0], $priv_key, $method);
Expand Down

0 comments on commit 503146a

Please sign in to comment.