summaryrefslogtreecommitdiff
path: root/ext/openssl/tests
diff options
context:
space:
mode:
authorJakub Zelenka <bukka@php.net>2017-04-27 15:09:58 +0100
committerJakub Zelenka <bukka@php.net>2017-04-27 15:09:58 +0100
commite7166ea9be6ee6a9707b9c8d6145b3278e965743 (patch)
tree3b1950a154be2543ba0253ea5fae3fa775c0159e /ext/openssl/tests
parente67096dbbb196bd91dd65d82e91bee2814569214 (diff)
downloadphp-git-e7166ea9be6ee6a9707b9c8d6145b3278e965743.tar.gz
Add oid_section to the testing openssl.cnf
It tests repeated OID addition
Diffstat (limited to 'ext/openssl/tests')
-rw-r--r--ext/openssl/tests/openssl.cnf7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/openssl/tests/openssl.cnf b/ext/openssl/tests/openssl.cnf
index 4ed40fdc8a..f3025aeb5c 100644
--- a/ext/openssl/tests/openssl.cnf
+++ b/ext/openssl/tests/openssl.cnf
@@ -1,3 +1,10 @@
+oid_section = new_oids
+
+[ new_oids ]
+# Example policies to test their
+tsa_policy1 = 1.2.3.4.1
+tsa_policy2 = 1.2.3.4.5.6
+
[ req ]
default_bits = 1024
default_keyfile = privkey.pem