Permalink
Browse files

Fix bug #61401 ext\openssl\tests\004.phpt fails

  • Loading branch information...
1 parent bd7bb97 commit bff8152565375c863f67833b73e2629c4d50cf63 @weltling weltling committed Mar 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 ext/openssl/tests/004.phpt
@@ -9,12 +9,12 @@ $a = 1;
var_dump(openssl_csr_new(1,$a));
var_dump(openssl_csr_new(1,$a,1,1));
$a = array();
-var_dump(openssl_csr_new(array(), $a, array(), array()));
+var_dump(openssl_csr_new(array(), $a, array('config' => __DIR__ . DIRECTORY_SEPARATOR . 'openssl.cnf'), array()));
//this leaks
$a = array(1,2);
$b = array(1,2);
-var_dump(openssl_csr_new($a, $b));
+var_dump(openssl_csr_new($a, $b, array('config' => __DIR__ . DIRECTORY_SEPARATOR . 'openssl.cnf')));
echo "Done\n";

0 comments on commit bff8152

Please sign in to comment.