Skip to content

Commit 2010e41

Browse files
committed
Fix test
1 parent 24ce1f4 commit 2010e41

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ext/openssl/tests/openssl_public_decrypt_basic.phpt

+1-3
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ try {
2626

2727
try {
2828
var_dump(openssl_public_decrypt($encrypted, $output5, array($pubkey)));
29-
var_dump($output4);
29+
var_dump($output5);
3030
} catch (\ValueError $e) {
3131
echo $e->getMessage() . \PHP_EOL;
3232
}
33-
var_dump($output5);
3433
var_dump(openssl_public_decrypt($encrypted, $output6, array($pubkey, "")));
3534
var_dump($output6);
3635
?>
@@ -45,6 +44,5 @@ bool(false)
4544
NULL
4645
Key array must be of the form array(0 => key, 1 => phrase)
4746
Key array must be of the form array(0 => key, 1 => phrase)
48-
NULL
4947
bool(true)
5048
string(32) "Testing openssl_public_decrypt()"

0 commit comments

Comments
 (0)