Skip to content

Commit bff8152

Browse files
committed
Fix bug #61401 ext\openssl\tests\004.phpt fails
1 parent bd7bb97 commit bff8152

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/openssl/tests/004.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ $a = 1;
99
var_dump(openssl_csr_new(1,$a));
1010
var_dump(openssl_csr_new(1,$a,1,1));
1111
$a = array();
12-
var_dump(openssl_csr_new(array(), $a, array(), array()));
12+
var_dump(openssl_csr_new(array(), $a, array('config' => __DIR__ . DIRECTORY_SEPARATOR . 'openssl.cnf'), array()));
1313

1414
//this leaks
1515
$a = array(1,2);
1616
$b = array(1,2);
17-
var_dump(openssl_csr_new($a, $b));
17+
var_dump(openssl_csr_new($a, $b, array('config' => __DIR__ . DIRECTORY_SEPARATOR . 'openssl.cnf')));
1818

1919

2020
echo "Done\n";

0 commit comments

Comments
 (0)