Skip to content

Commit

Permalink
runtests: add 'bearssl' as testable feature
Browse files Browse the repository at this point in the history
Closes #8684
  • Loading branch information
bagder committed Apr 7, 2022
1 parent 51d2712 commit 71a0e05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/FILEFORMAT.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ SKIPPED.
Features testable here are:

- `alt-svc`
- `bearssl`
- `c-ares`
- `cookies`
- `crypto`
Expand Down
5 changes: 5 additions & 0 deletions tests/runtests.pl
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ BEGIN
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
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 71a0e05

Please sign in to comment.