diff options
| author | Gustavo André dos Santos Lopes <cataphract@php.net> | 2011-09-14 10:55:46 +0000 |
|---|---|---|
| committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2011-09-14 10:55:46 +0000 |
| commit | 4de9123b85088ceebf0e141e09c5abf532c21452 (patch) | |
| tree | 1169f821ea06f04c35ab9969f7b9856abf1e647b | |
| parent | 428ef2306795e8a383d68dea45f0c8ec00654d33 (diff) | |
| download | php-git-4de9123b85088ceebf0e141e09c5abf532c21452.tar.gz | |
- ext/openssl/tests/bug36732.phpt more portable.
| -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 + |
