aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorNick Zitzmann <nickzman@gmail.com>2013-02-24 15:39:15 -0700
committerNick Zitzmann <nickzman@gmail.com>2013-02-24 15:39:15 -0700
commitcc27aff7b370d42e4ed3291bd8211317c90c4eea (patch)
treecaf833b29bc65dda8c348fad3eb997d97db29d38 /tests/runtests.pl
parentd23d2f2bd8dc9574113ed45303493c3dd5d94557 (diff)
darwinssl: fix undefined $ssllib warning in runtests.pl
I also added --with-darwinssl to the list of SSL options in configure.
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl24
1 files changed, 17 insertions, 7 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index b39da66d0..4915f2e81 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -213,13 +213,14 @@ my $has_charconv;# set if libcurl is built with CharConv support
my $has_tls_srp; # set if libcurl is built with TLS-SRP support
my $has_metalink;# set if curl is built with Metalink support
-my $has_openssl; # built with a lib using an OpenSSL-like API
-my $has_gnutls; # built with GnuTLS
-my $has_nss; # built with NSS
-my $has_yassl; # built with yassl
-my $has_polarssl;# built with polarssl
-my $has_axtls; # built with axTLS
-my $has_winssl; # built with WinSSL (Schannel/SSPI)
+my $has_openssl; # built with a lib using an OpenSSL-like API
+my $has_gnutls; # built with GnuTLS
+my $has_nss; # built with NSS
+my $has_yassl; # built with yassl
+my $has_polarssl; # built with polarssl
+my $has_axtls; # built with axTLS
+my $has_winssl; # built with WinSSL (Schannel/SSPI)
+my $has_darwinssl;# build with DarwinSSL (Secure Transport)
my $has_shared = "unknown"; # built shared
@@ -2258,6 +2259,10 @@ sub checksystem {
$has_axtls=1;
$ssllib="axTLS";
}
+ elsif ($libcurl =~ /securetransport/i) {
+ $has_darwinssl=1;
+ $ssllib="DarwinSSL";
+ }
}
elsif($_ =~ /^Protocols: (.*)/i) {
# these are the protocols compiled in to this libcurl
@@ -2682,6 +2687,11 @@ sub singletest {
next;
}
}
+ elsif($f eq "DarwinSSL") {
+ if($has_darwinssl) {
+ next;
+ }
+ }
elsif($f eq "unittest") {
if($debug_build) {
next;