runtests: add 'bearssl' as testable feature

Closes #8684
This commit is contained in:
Daniel Stenberg 2022-04-07 08:36:27 +02:00
parent 51d271213b
commit 71a0e053e9
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 6 additions and 0 deletions

View File

@ -376,6 +376,7 @@ SKIPPED.
Features testable here are:
- `alt-svc`
- `bearssl`
- `c-ares`
- `cookies`
- `crypto`

View File

@ -284,6 +284,7 @@ my $has_openssl; # built with a lib using an OpenSSL-like API
my $has_gnutls; # built with GnuTLS
my $has_nss; # built with NSS
my $has_wolfssl; # built with wolfSSL
my $has_bearssl; # built with BearSSL
my $has_schannel; # built with Schannel
my $has_sectransp; # built with Secure Transport
my $has_boringssl; # built with BoringSSL
@ -2866,6 +2867,7 @@ sub compare {
sub setupfeatures {
$feature{"alt-svc"} = $has_altsvc;
$feature{"bearssl"} = $has_bearssl;
$feature{"brotli"} = $has_brotli;
$feature{"c-ares"} = $has_cares;
$feature{"crypto"} = $has_crypto;
@ -3020,6 +3022,9 @@ sub checksystem {
$has_wolfssl=1;
$has_sslpinning=1;
}
elsif ($libcurl =~ /bearssl/i) {
$has_bearssl=1;
}
elsif ($libcurl =~ /securetransport/i) {
$has_sectransp=1;
$has_sslpinning=1;