From be312336f6014b707fe9ec26ab75f8712c21d611 Mon Sep 17 00:00:00 2001 From: Eric Hu Date: Mon, 6 Dec 2010 16:18:35 -0800 Subject: Initial axTLS integration. Connections can be made and some tests pass. Failed HTTPS tests: 301, 306, 311, 312, 313, 560 311, 312 need more detailed error reporting from axTLS. 313 relates to CRL, which hasn't been implemented yet. --- tests/runtests.pl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests') diff --git a/tests/runtests.pl b/tests/runtests.pl index 2eb65fd9e..743fb1f62 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -207,6 +207,7 @@ my $has_gnutls; # built with GnuTLS my $has_nss; # built with NSS my $has_yassl; # built with yassl my $has_polarssl;# built with polarssl +my $has_axtls; # built with axTLS my $has_shared; # built shared @@ -696,6 +697,7 @@ sub verifyhttp { $flags .= "--silent "; $flags .= "--verbose "; $flags .= "--globoff "; + $flags .= "-1 " if($has_axtls == 1); $flags .= "--insecure " if($proto eq 'https'); $flags .= "\"$proto://$ip:$port/${bonus}verifiedserver\""; @@ -1950,6 +1952,10 @@ sub checksystem { $has_openssl=1; $ssllib="polarssl"; } + elsif ($libcurl =~ /axtls/i) { + $has_axtls=1; + $ssllib="axTLS"; + } } elsif($_ =~ /^Protocols: (.*)/i) { # these are the protocols compiled in to this libcurl @@ -2297,6 +2303,11 @@ sub singletest { next; } } + elsif($f eq "axTLS") { + if($has_axtls) { + next; + } + } elsif($f eq "netrc_debug") { if($debug_build) { next; @@ -2548,6 +2559,7 @@ sub singletest { if($curl_debug) { unlink($memdump); } + $cmd = "-1 ".$cmd if(exists $feature{"SSL"} && $has_axtls == 1); # create a (possibly-empty) file before starting the test my @inputfile=getpart("client", "file"); -- cgit v1.2.3