]> granicus.if.org Git - php/commitdiff
- ext/openssl/tests/bug36732.phpt more portable.
authorGustavo André dos Santos Lopes <cataphract@php.net>
Wed, 14 Sep 2011 10:55:46 +0000 (10:55 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Wed, 14 Sep 2011 10:55:46 +0000 (10:55 +0000)
ext/openssl/tests/bug36732.phpt
ext/openssl/tests/openssl.cnf

index 290c9e95ee74832413e661d23c774f0ae45777fd..ec8fedb9d43a3362626f713139d10ceb105f3a81 100644 (file)
@@ -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(
index 20bc1ee43e94a9ac04b0716e5b0190135d44b3fc..10e69076cff57310730f2fa1352f1056ecfb0a0c 100644 (file)
@@ -38,3 +38,6 @@ subjectKeyIdentifier=hash
 authorityKeyIdentifier=keyid:always,issuer:always
 basicConstraints = CA:true
 
+[ usr_cert ]
+basicConstraints=CA:FALSE
+