diff options
| -rw-r--r-- | ext/openssl/tests/bug36732.phpt | 3 | ||||
| -rw-r--r-- | ext/openssl/tests/openssl.cnf | 3 |
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 + |
