dougm 01/12/17 16:19:56
Modified: perl-framework/Apache-Test/lib/Apache TestConfig.pm
Log:
do not attempt to generate SSL CA unless t/conf/ssl exists
Revision Changes Path
1.110 +4 -1
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.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- TestConfig.pm 2001/12/17 23:52:08 1.109
+++ TestConfig.pm 2001/12/18 00:19:56 1.110
@@ -964,7 +964,10 @@
sub sslca_can {
my($self, $check) = @_;
- return 0 unless $self->{modules}->{ $self->{vars}->{ssl_module} };
+ my $vars = $self->{vars};
+ return 0 unless $self->{modules}->{ $vars->{ssl_module} };
+ return 0 unless -d "$vars->{t_conf}/ssl";
+
require Apache::TestSSLCA;
if ($check) {