my $gdb = checktestcmd("gdb");
my $httptlssrv = find_httptlssrv();
-my $ssl_version; # set if libcurl is built with SSL support
-my $large_file; # set if libcurl is built with large file support
+my $has_ssl; # set if libcurl is built with SSL support
+my $has_largefile; # set if libcurl is built with large file support
my $has_idn; # set if libcurl is built with IDN support
my $http_ipv6; # set if HTTP server has IPv6 support
my $http_unix; # set if HTTP server has Unix sockets support
}
if($feat =~ /SSL/i) {
# ssl enabled
- $ssl_version=1;
+ $has_ssl=1;
}
if($feat =~ /Largefile/i) {
# large file support
- $large_file=1;
+ $has_largefile=1;
}
if($feat =~ /IDN/i) {
# IDN support
}
logmsg sprintf("* Server SSL: %8s", $stunnel?"ON ":"OFF");
- logmsg sprintf(" libcurl SSL: %s\n", $ssl_version?"ON ":"OFF");
+ logmsg sprintf(" libcurl SSL: %s\n", $has_ssl?"ON ":"OFF");
logmsg sprintf("* debug build: %8s", $debug_build?"ON ":"OFF");
logmsg sprintf(" track memory: %s\n", $has_memory_tracking?"ON ":"OFF");
logmsg sprintf("* valgrind: %8s", $valgrind?"ON ":"OFF");
logmsg sprintf("* PSL: %8s", $has_psl?"ON ":"OFF");
logmsg sprintf(" Resolver: %s\n", $resolver);
- if($ssl_version) {
+ if($has_ssl) {
logmsg sprintf("* SSL library: %13s\n", $ssllib);
}
$feature{$1} = $1;
if($1 eq "SSL") {
- if($ssl_version) {
+ if($has_ssl) {
next;
}
}
}
}
elsif($1 eq "large_file") {
- if($large_file) {
+ if($has_largefile) {
next;
}
}
if($f =~ /^!(.*)$/) {
if($1 eq "SSL") {
- if(!$ssl_version) {
+ if(!$has_ssl) {
next;
}
}
}
}
elsif($1 eq "large_file") {
- if(!$large_file) {
+ if(!$has_largefile) {
next;
}
}
# we can't run ftps tests without stunnel
return "no stunnel";
}
- if(!$ssl_version) {
+ if(!$has_ssl) {
# we can't run ftps tests if libcurl is SSL-less
return "curl lacks SSL support";
}
# we can't run https tests without stunnel
return "no stunnel";
}
- if(!$ssl_version) {
+ if(!$has_ssl) {
# we can't run https tests if libcurl is SSL-less
return "curl lacks SSL support";
}