aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2016-01-10 02:56:26 -0500
committerJay Satiro <raysatiro@yahoo.com>2016-01-10 02:56:26 -0500
commit036c465e889d6658cea37a222e65f86dd8f895f7 (patch)
tree00d9c1035df784fe7e0e0e64c66961a335e873ef /tests/runtests.pl
parentbf93a1217ce3cc336d75a3b0cb0c1a7ed6a05cb3 (diff)
downloadgnurl-036c465e889d6658cea37a222e65f86dd8f895f7.tar.gz
gnurl-036c465e889d6658cea37a222e65f86dd8f895f7.tar.bz2
gnurl-036c465e889d6658cea37a222e65f86dd8f895f7.zip
runtests: Add mbedTLS to the SSL backends
.. and enable SSLpinning tests for mbedTLS, BoringSSL and LibreSSL.
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 3c38acc9d..6def307d9 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -238,7 +238,8 @@ my $has_axtls; # built with axTLS
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
@@ -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";