From 7f70dbcad58eb7183d129860192d6968dd7063a1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 12 Feb 2007 22:32:37 +0000 Subject: Rob Crittenden added support for NSS (Network Security Service) for the SSL/TLS layer. http://www.mozilla.org/projects/security/pki/nss/ --- tests/runtests.pl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/runtests.pl b/tests/runtests.pl index 5ed2298b1..ad288de37 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -143,6 +143,7 @@ my $has_getrlimit; # set if system has getrlimit() my $has_ntlm; # set if libcurl is built with NTLM support my $has_openssl; # set if libcurl is built with OpenSSL my $has_gnutls; # set if libcurl is built with GnuTLS +my $has_nss; # set if libcurl is built with NSS my $has_textaware; # set if running on a system that has a text mode concept # on files. Windows for example @@ -955,6 +956,10 @@ sub checksystem { # GnuTLS in use $has_gnutls=1; } + elsif ($libcurl =~ /nss/i) { + # NSS in use + $has_nss=1; + } } elsif($_ =~ /^Protocols: (.*)/i) { # these are the supported protocols, we don't use this knowledge @@ -1083,7 +1088,7 @@ sub checksystem { if($ssl_version) { logmsg sprintf("* SSL library: %s\n", - $has_gnutls?"GnuTLS":($has_openssl?"OpenSSL":"")); + $has_gnutls?"GnuTLS":($has_openssl?"OpenSSL":($has_nss?"NSS":""))); } $has_textaware = ($^O eq 'MSWin32') || ($^O eq 'msys'); @@ -1179,6 +1184,11 @@ sub singletest { next; } } + elsif($f eq "NSS") { + if($has_nss) { + next; + } + } elsif($f eq "netrc_debug") { if($curl_debug) { next; -- cgit v1.2.3