httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm
Date Mon, 17 Dec 2001 23:52:08 GMT
dougm       01/12/17 15:52:08

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfig.pm
  Log:
  only sslca_generate should check if t/conf/ssl/ca already exists.
  Apache::TestSSLCA::clean already has logic to clean only if that
  directory was generated.
  
  Revision  Changes    Path
  1.109     +3 -3      httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm
  
  Index: TestConfig.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
  retrieving revision 1.108
  retrieving revision 1.109
  diff -u -r1.108 -r1.109
  --- TestConfig.pm	2001/12/17 23:33:15	1.108
  +++ TestConfig.pm	2001/12/17 23:52:08	1.109
  @@ -967,9 +967,6 @@
       return 0 unless $self->{modules}->{ $self->{vars}->{ssl_module} };
       require Apache::TestSSLCA;
   
  -    my $ca = $self->{vars}->{sslca};
  -    return 0 if $ca and -d $ca; #t/conf/ssl/ca
  -
       if ($check) {
           my $openssl = Apache::TestSSLCA::openssl();
           if (which($openssl)) {
  @@ -985,6 +982,9 @@
   
   sub sslca_generate {
       my $self = shift;
  +
  +    my $ca = $self->{vars}->{sslca};
  +    return if $ca and -d $ca; #t/conf/ssl/ca
   
       return unless $self->sslca_can(1);
   
  
  
  

Mime
View raw message