diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2007-02-12 22:32:37 +0000 | 
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2007-02-12 22:32:37 +0000 | 
| commit | 7f70dbcad58eb7183d129860192d6968dd7063a1 (patch) | |
| tree | 99d0ab872283fafbd4bc48176578126dd01ac39d /tests | |
| parent | 28b932fb4ef14b8b9ebda6823c98fbedad6be4b2 (diff) | |
Rob Crittenden added support for NSS (Network Security Service) for the
SSL/TLS layer. http://www.mozilla.org/projects/security/pki/nss/
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/runtests.pl | 12 | 
1 files changed, 11 insertions, 1 deletions
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":"<unknown>")); +               $has_gnutls?"GnuTLS":($has_openssl?"OpenSSL":($has_nss?"NSS":"<unknown>")));      }      $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;  | 
