Skip to content

Commit

Permalink
runtests: identify BoringSSL and libressl
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Jan 28, 2015
1 parent 980ba22 commit 153e9c0
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tests/runtests.pl
Expand Up @@ -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
Expand Down Expand Up @@ -235,7 +235,9 @@ BEGIN
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

Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 153e9c0

Please sign in to comment.