]> granicus.if.org Git - curl/commitdiff
runtests: identify BoringSSL and libressl
authorDaniel Stenberg <daniel@haxx.se>
Fri, 23 Jan 2015 13:24:19 +0000 (14:24 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 28 Jan 2015 09:10:59 +0000 (10:10 +0100)
tests/runtests.pl

index 846687cb3663395a292eba0a28af678fc20080e2..134875133ac1c8f8a3fe58f63a2c6dfee9b91374 100755 (executable)
@@ -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";