perl-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject Re: svn commit: r946166 - /perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm
Date Fri, 21 May 2010 04:58:42 GMT
Hows about a CHANGES entry ?

TY!

On 5/19/2010 9:02 AM, jorton@apache.org wrote:
> Author: jorton
> Date: Wed May 19 13:02:22 2010
> New Revision: 946166
> 
> URL: http://svn.apache.org/viewvc?rev=946166&view=rev
> Log:
> * lib/Apache/TestSSLCA.pm (generate): Ensure the DNs in the server certs
>   match up with the server hostname being used for testing; the proxy 
>   now (correctly) fails if they don't match.
> 
> 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=946166&r1=946165&r2=946166&view=diff
> ==============================================================================
> --- perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm (original)
> +++ perl/Apache-Test/trunk/lib/Apache/TestSSLCA.pm Wed May 19 13:02:22 2010
> @@ -470,6 +470,13 @@ sub generate {
>  
>      chdir $base;
>  
> +    # Ensure the CNs used in the server certs match up with the
> +    # hostname being used for testing.
> +    while (my($key, $val) = each %$cert_dn) {
> +        next unless $key =~ /^server/;
> +        $val->{CN} = $Config->{vars}->{servername};
> +    }        
> +
>      #make a note that we created the tree
>      $Config->clean_add_path($root);
>  
> 


-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Sr. System Admin,                 Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Mime
View raw message