com php-src: Add oid_section to the testing openssl .cnf: ext/openssl/tests/openssl.cnf
| From: | Jakub Zelenka | Date: | Thu, 27 Apr 2017 14:09:58 +0000 |
| Subject: | com php-src: Add oid_section to the testing openssl .cnf: ext/openssl/tests/openssl.cnf | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97720@lists.php.net to get a copy of this message | ||
Commit: e7166ea9be6ee6a9707b9c8d6145b3278e965743
Author: Jakub Zelenka <bukka@php.net> Thu, 27 Apr 2017 15:09:58 +0100
Parents: e67096dbbb196bd91dd65d82e91bee2814569214
Branches: PHP-7.0
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e7166ea9be6ee6a9707b9c8d6145b3278e965743
Log:
Add oid_section to the testing openssl.cnf
It tests repeated OID addition
Changed paths:
M ext/openssl/tests/openssl.cnf
Diff:
diff --git a/ext/openssl/tests/openssl..cnf b/ext/openssl/tests/openssl.cnf
index 4ed40fd..f3025ae 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