mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
runtests: support MultiSSL client feature
This commit is contained in:
parent
8aee8a6a2d
commit
7363d5a928
@ -233,6 +233,7 @@ my $has_cares; # set if built with c-ares
|
|||||||
my $has_threadedres;# set if built with threaded resolver
|
my $has_threadedres;# set if built with threaded resolver
|
||||||
my $has_psl; # set if libcurl is built with PSL support
|
my $has_psl; # set if libcurl is built with PSL support
|
||||||
my $has_ldpreload; # set if curl is built for systems supporting LD_PRELOAD
|
my $has_ldpreload; # set if curl is built for systems supporting LD_PRELOAD
|
||||||
|
my $has_multissl; # set if curl is build with MultiSSL support
|
||||||
|
|
||||||
# this version is decided by the particular nghttp2 library that is being used
|
# this version is decided by the particular nghttp2 library that is being used
|
||||||
my $h2cver = "h2c";
|
my $h2cver = "h2c";
|
||||||
@ -2858,6 +2859,10 @@ sub checksystem {
|
|||||||
# ssl enabled
|
# ssl enabled
|
||||||
$has_ssl=1;
|
$has_ssl=1;
|
||||||
}
|
}
|
||||||
|
if($feat =~ /MultiSSL/i) {
|
||||||
|
# multiple ssl backends available.
|
||||||
|
$has_multissl=1;
|
||||||
|
}
|
||||||
if($feat =~ /Largefile/i) {
|
if($feat =~ /Largefile/i) {
|
||||||
# large file support
|
# large file support
|
||||||
$has_largefile=1;
|
$has_largefile=1;
|
||||||
@ -3311,6 +3316,11 @@ sub singletest {
|
|||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
elsif($1 eq "MultiSSL") {
|
||||||
|
if($has_multissl) {
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
}
|
||||||
elsif($1 eq "SSLpinning") {
|
elsif($1 eq "SSLpinning") {
|
||||||
if($has_sslpinning) {
|
if($has_sslpinning) {
|
||||||
next;
|
next;
|
||||||
@ -3479,6 +3489,11 @@ sub singletest {
|
|||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
elsif($1 eq "MultiSSL") {
|
||||||
|
if(!$has_multissl) {
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
}
|
||||||
elsif($1 eq "OpenSSL") {
|
elsif($1 eq "OpenSSL") {
|
||||||
if(!$has_openssl) {
|
if(!$has_openssl) {
|
||||||
next;
|
next;
|
||||||
|
Loading…
Reference in New Issue
Block a user