diff options
author | Eric Hu <ehu@directv.com> | 2010-12-06 16:18:35 -0800 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-12-15 16:05:17 +0100 |
commit | be312336f6014b707fe9ec26ab75f8712c21d611 (patch) | |
tree | 9656891c674f9f9b191f560ee5e9f83d26587644 /tests | |
parent | 6761cf49f2543cd78792eea186d226c9cdbd746e (diff) |
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.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runtests.pl | 12 |
1 files changed, 12 insertions, 0 deletions
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"); |