Skip to content

Commit

Permalink
runtests: Add mbedTLS to the SSL backends
Browse files Browse the repository at this point in the history
.. and enable SSLpinning tests for mbedTLS, BoringSSL and LibreSSL.
  • Loading branch information
jay committed Jan 10, 2016
1 parent bf93a12 commit 036c465
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/runtests.pl
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@ BEGIN
my $has_winssl; # built with WinSSL (Secure Channel aka Schannel)
my $has_darwinssl; # built with DarwinSSL (Secure Transport)
my $has_boringssl; # built with BoringSSL
my $has_libressl; # built with libressl
my $has_libressl; # built with libressl
my $has_mbedtls; # built with mbedTLS

my $has_sslpinning; # built with a TLS backend that supports pinning

Expand Down Expand Up @@ -2369,12 +2370,19 @@ sub checksystem {
}
elsif ($libcurl =~ /BoringSSL/i) {
$has_boringssl=1;
$has_sslpinning=1;
$ssllib="BoringSSL";
}
elsif ($libcurl =~ /libressl/i) {
$has_libressl=1;
$has_sslpinning=1;
$ssllib="libressl";
}
elsif ($libcurl =~ /mbedTLS/i) {
$has_mbedtls=1;
$has_sslpinning=1;
$ssllib="mbedTLS";
}
if ($libcurl =~ /ares/i) {
$has_cares=1;
$resolver="c-ares";
Expand Down

0 comments on commit 036c465

Please sign in to comment.