aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-01-23 14:24:19 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-01-28 10:10:59 +0100
commit153e9c0278f426c4de5b2741c0895ba80e73d3fa (patch)
tree0b7c866856359fd04210f730637a6139cda1eba9 /tests/runtests.pl
parent980ba2202ca61f531d1ddcfe0713dd09432d6bed (diff)
downloadgnurl-153e9c0278f426c4de5b2741c0895ba80e73d3fa.tar.gz
gnurl-153e9c0278f426c4de5b2741c0895ba80e73d3fa.tar.bz2
gnurl-153e9c0278f426c4de5b2741c0895ba80e73d3fa.zip
runtests: identify BoringSSL and libressl
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl14
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 846687cb3..134875133 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -6,7 +6,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -235,7 +235,9 @@ my $has_yassl; # built with yassl
my $has_polarssl; # built with polarssl
my $has_axtls; # built with axTLS
my $has_winssl; # built with WinSSL (Secure Channel aka Schannel)
-my $has_darwinssl; # build with DarwinSSL (Secure Transport)
+my $has_darwinssl; # built with DarwinSSL (Secure Transport)
+my $has_boringssl; # built with BoringSSL
+my $has_libressl; # built with libressl
my $has_sslpinning; # built with a TLS backend that supports pinning
@@ -2362,6 +2364,14 @@ sub checksystem {
$has_darwinssl=1;
$ssllib="DarwinSSL";
}
+ elsif ($libcurl =~ /BoringSSL/i) {
+ $has_boringssl=1;
+ $ssllib="BoringSSL";
+ }
+ elsif ($libcurl =~ /libressl/i) {
+ $has_libressl=1;
+ $ssllib="libressl";
+ }
if ($libcurl =~ /ares/i) {
$has_cares=1;
$resolver="c-ares";