From 71a0e053e9ecc65eceef839694abcb93b144c78a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 7 Apr 2022 08:36:27 +0200 Subject: [PATCH] runtests: add 'bearssl' as testable feature Closes #8684 --- tests/FILEFORMAT.md | 1 + tests/runtests.pl | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/tests/FILEFORMAT.md b/tests/FILEFORMAT.md index 003df8ea63..3de59c23e2 100644 --- a/tests/FILEFORMAT.md +++ b/tests/FILEFORMAT.md @@ -376,6 +376,7 @@ SKIPPED. Features testable here are: - `alt-svc` +- `bearssl` - `c-ares` - `cookies` - `crypto` diff --git a/tests/runtests.pl b/tests/runtests.pl index 8afdf8f4bf..1bacda1f55 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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; -- 2.47.3