com php-src: Fix bug #61401 ext\openssl\tests\004.phpt fails: ext/openssl/tests/004.phpt
| From: | Anatoliy Belsky | Date: | Wed, 28 Mar 2012 15:11:58 +0000 |
| Subject: | com php-src: Fix bug #61401 ext\openssl\tests\004.phpt fails: ext/openssl/tests/004.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-68228@lists.php.net to get a copy of this message | ||
Commit: bff8152565375c863f67833b73e2629c4d50cf63
Author: Anatoliy Belsky <ab@php.net> Wed, 28 Mar 2012 17:11:58 +0200
Parents: bd7bb973b1f4791f000a890b1c1387fcd28c65ee
Branches: PHP-5.3 PHP-5.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bff8152565375c863f67833b73e2629c4d50cf63
Log:
Fix bug #61401 ext\openssl\tests\004.phpt fails
Bugs:
https://bugs.php.net/61401
Changed paths:
M ext/openssl/tests/004.phpt
Diff:
bff8152565375c863f67833b73e2629c4d50cf63
diff --git a/ext/openssl/tests/004.phpt b/ext/openssl/tests/004.phpt
index b9c4159..aca9818 100644
--- a/ext/openssl/tests/004.phpt
+++ b/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";