aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-12 12:34:56 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-12 12:48:28 +0000
commitc19cfb79db234edecf46d33b4ab77d57712b2293 (patch)
tree63343026423c72d2a5a2e3f4cbc7fbb17addb6e3
parent65ce9b6d6cfd332325c7ffb291598178eff53797 (diff)
runtests.pl: Added SSPI detection
-rwxr-xr-xtests/runtests.pl12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 06ec86f8a..8c0c5f280 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -210,6 +210,7 @@ my $has_libz; # set if libcurl is built with libz support
my $has_getrlimit; # set if system has getrlimit()
my $has_ntlm; # set if libcurl is built with NTLM support
my $has_ntlm_wb; # set if libcurl is built with NTLM delegation to winbind
+my $has_sspi; # set if libcurl is built with SSPI support
my $has_charconv;# set if libcurl is built with CharConv support
my $has_tls_srp; # set if libcurl is built with TLS-SRP support
my $has_metalink;# set if curl is built with Metalink support
@@ -220,7 +221,7 @@ 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_winssl; # built with WinSSL (Schannel/SSPI)
+my $has_winssl; # built with WinSSL (Secure Channel aka Schannel)
my $has_darwinssl;# build with DarwinSSL (Secure Transport)
my $has_shared = "unknown"; # built shared
@@ -2406,6 +2407,10 @@ sub checksystem {
# NTLM delegation to winbind daemon ntlm_auth helper enabled
$has_ntlm_wb=1;
}
+ if($feat =~ /SSPI/i) {
+ # SSPI enabled
+ $has_sspi=1;
+ }
if($feat =~ /CharConv/i) {
# CharConv enabled
$has_charconv=1;
@@ -2835,6 +2840,11 @@ sub singletest {
next;
}
}
+ elsif($f eq "SSPI") {
+ if($has_sspi) {
+ next;
+ }
+ }
elsif($f eq "getrlimit") {
if($has_getrlimit) {
next;