perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r946347 - /perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm
Date Wed, 19 May 2010 19:20:11 GMT
Author: jorton
Date: Wed May 19 19:20:11 2010
New Revision: 946347

URL: http://svn.apache.org/viewvc?rev=946347&view=rev
Log:
- add test for SSLRequire PeerExtList()
- test for the string-rendering hack in ssl_ext_lookup()
- uses an OID stolen from the ASF OID branch; "official" assignment 
  has been requested for the httpd project from akarasulu@

Modified:
    perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm

Modified: perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm?rev=946347&r1=946346&r2=946347&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm Wed May 19 19:20:11 2010
@@ -243,6 +243,7 @@ emailAddress            = optional
 
 [ comment ]
 nsComment = This Is A Comment
+1.3.6.1.4.1.18060.12.0 = ASN1:UTF8String:Lemons
 
 EOF
 
@@ -313,9 +314,12 @@ sub new_cert {
 
 sub sign_cert {
     my $name = shift;
+    my $exts = '';
+
+    $exts = ' -extensions comment' if $name =~ /client_ok/;
 
     openssl ca => "$capolicy -in csr/$name.csr -out certs/$name.crt",
-                  $passin, config($name), '-batch -extensions comment';
+                  $passin, config($name), '-batch', $exts;
 }
 
 #handy for importing into a browser such as netscape



Mime
View raw message