com php-src: Add oid_section to the testing openssl .cnf: ext/openssl/tests/openssl.cnf

[email protected] (Jakub Zelenka)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    e7166ea9be6ee6a9707b9c8d6145b3278e965743
Author:    Jakub Zelenka <[email protected]>         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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.