You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-commits@perl.apache.org by kb...@apache.org on 2015/09/27 15:08:37 UTC
svn commit: r1705535 - /perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm
Author: kbrand
Date: Sun Sep 27 13:08:36 2015
New Revision: 1705535
URL: http://svn.apache.org/viewvc?rev=1705535&view=rev
Log:
enable checks for the *_DN_Email variables
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=1705535&r1=1705534&r2=1705535&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm Sun Sep 27 13:08:36 2015
@@ -228,7 +228,7 @@ L = $dn->{L}
O = $dn->{O}
OU = $dn->{OU}
CN = $dn->{CN}
-emailAddress = $dn->{$email_field}
+$email_field = $dn->{$email_field}
[ req_attributes ]
challengePassword = $pass
@@ -259,7 +259,7 @@ localityName = optional
organizationName = optional
organizationalUnitName = optional
commonName = supplied
-emailAddress = optional
+$email_field = optional
[ comment ]
nsComment = This Is A Comment
@@ -563,5 +563,9 @@ sub dgst {
return $dgst;
}
+sub email_field {
+ return $email_field;
+}
+
1;
__END__