mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
runtests.pl: Added support for SPNEGO
This commit is contained in:
parent
8cc7e74a8f
commit
2e2f981bcc
@ -228,6 +228,7 @@ http2
|
|||||||
SSPI
|
SSPI
|
||||||
GSS-API
|
GSS-API
|
||||||
Kerberos
|
Kerberos
|
||||||
|
SPNEGO
|
||||||
|
|
||||||
as well as each protocol that curl supports. A protocol only needs to be
|
as well as each protocol that curl supports. A protocol only needs to be
|
||||||
specified if it is different from the server (useful when the server
|
specified if it is different from the server (useful when the server
|
||||||
|
@ -213,6 +213,7 @@ 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_sspi; # set if libcurl is built with SSPI support
|
||||||
my $has_gssapi; # set if libcurl is built with a GSS-API library
|
my $has_gssapi; # set if libcurl is built with a GSS-API library
|
||||||
my $has_kerberos;# set if libcurl is built with Kerberos support
|
my $has_kerberos;# set if libcurl is built with Kerberos support
|
||||||
|
my $has_spnego; # set if libcurl is built with SPNEGO support
|
||||||
my $has_charconv;# set if libcurl is built with CharConv 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_tls_srp; # set if libcurl is built with TLS-SRP support
|
||||||
my $has_metalink;# set if curl is built with Metalink support
|
my $has_metalink;# set if curl is built with Metalink support
|
||||||
@ -2408,6 +2409,10 @@ sub checksystem {
|
|||||||
# Kerberos enabled
|
# Kerberos enabled
|
||||||
$has_kerberos=1;
|
$has_kerberos=1;
|
||||||
}
|
}
|
||||||
|
if($feat =~ /SPNEGO/i) {
|
||||||
|
# SPNEGO enabled
|
||||||
|
$has_spnego=1;
|
||||||
|
}
|
||||||
if($feat =~ /CharConv/i) {
|
if($feat =~ /CharConv/i) {
|
||||||
# CharConv enabled
|
# CharConv enabled
|
||||||
$has_charconv=1;
|
$has_charconv=1;
|
||||||
@ -2879,6 +2884,11 @@ sub singletest {
|
|||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
elsif($1 eq "SPNEGO") {
|
||||||
|
if($has_spnego) {
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
}
|
||||||
elsif($1 eq "getrlimit") {
|
elsif($1 eq "getrlimit") {
|
||||||
if($has_getrlimit) {
|
if($has_getrlimit) {
|
||||||
next;
|
next;
|
||||||
@ -3009,6 +3019,11 @@ sub singletest {
|
|||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
elsif($1 eq "SPNEGO") {
|
||||||
|
if(!$has_spnego) {
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
}
|
||||||
elsif($1 eq "getrlimit") {
|
elsif($1 eq "getrlimit") {
|
||||||
if(!$has_getrlimit) {
|
if(!$has_getrlimit) {
|
||||||
next;
|
next;
|
||||||
|
Loading…
Reference in New Issue
Block a user