summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2011-09-14 10:55:46 +0000
committerGustavo André dos Santos Lopes <cataphract@php.net>2011-09-14 10:55:46 +0000
commit4de9123b85088ceebf0e141e09c5abf532c21452 (patch)
tree1169f821ea06f04c35ab9969f7b9856abf1e647b
parent428ef2306795e8a383d68dea45f0c8ec00654d33 (diff)
downloadphp-git-4de9123b85088ceebf0e141e09c5abf532c21452.tar.gz
- ext/openssl/tests/bug36732.phpt more portable.
-rw-r--r--ext/openssl/tests/bug36732.phpt3
-rw-r--r--ext/openssl/tests/openssl.cnf3
2 files changed, 5 insertions, 1 deletions
diff --git a/ext/openssl/tests/bug36732.phpt b/ext/openssl/tests/bug36732.phpt
index 290c9e95ee..ec8fedb9d4 100644
--- a/ext/openssl/tests/bug36732.phpt
+++ b/ext/openssl/tests/bug36732.phpt
@@ -9,7 +9,8 @@ if (OPENSSL_VERSION_NUMBER < 0x009070af) die("skip");
<?php
$configargs = array(
"req_extensions" => "v3_req",
- "x509_extensions" => "usr_cert"
+ "x509_extensions" => "usr_cert",
+ "config" => __DIR__."/openssl.cnf",
);
$dn = array(
diff --git a/ext/openssl/tests/openssl.cnf b/ext/openssl/tests/openssl.cnf
index 20bc1ee43e..10e69076cf 100644
--- a/ext/openssl/tests/openssl.cnf
+++ b/ext/openssl/tests/openssl.cnf
@@ -38,3 +38,6 @@ subjectKeyIdentifier=hash
authorityKeyIdentifier=keyid:always,issuer:always
basicConstraints = CA:true
+[ usr_cert ]
+basicConstraints=CA:FALSE
+