[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r32403 - libmicrohttpd/src/testcurl/https
From: |
gnunet |
Subject: |
[GNUnet-SVN] r32403 - libmicrohttpd/src/testcurl/https |
Date: |
Tue, 18 Feb 2014 19:40:16 +0100 |
Author: Karlson2k
Date: 2014-02-18 19:40:16 +0100 (Tue, 18 Feb 2014)
New Revision: 32403
Modified:
libmicrohttpd/src/testcurl/https/test_https_get_parallel_threads.c
libmicrohttpd/src/testcurl/https/test_tls_options.c
Log:
Reverse OpenSSL <-> GnuTLS check
Modified: libmicrohttpd/src/testcurl/https/test_https_get_parallel_threads.c
===================================================================
--- libmicrohttpd/src/testcurl/https/test_https_get_parallel_threads.c
2014-02-18 18:40:06 UTC (rev 32402)
+++ libmicrohttpd/src/testcurl/https/test_https_get_parallel_threads.c
2014-02-18 18:40:16 UTC (rev 32403)
@@ -142,9 +142,9 @@
fprintf (stderr, "Curl does not support SSL. Cannot run the test.\n");
return 0;
}
- if (NULL != strcasestr (ssl_version, "openssl"))
+ if (0 != strncmp (ssl_version, "GnuTLS", 6))
{
- fprintf (stderr, "Refusing to run test with OpenSSL. Please install
libcurl-gnutls\n");
+ fprintf (stderr, "This test can be run only with libcurl-gnutls.\n");
return 0;
}
if (0 != curl_global_init (CURL_GLOBAL_ALL))
Modified: libmicrohttpd/src/testcurl/https/test_tls_options.c
===================================================================
--- libmicrohttpd/src/testcurl/https/test_tls_options.c 2014-02-18 18:40:06 UTC
(rev 32402)
+++ libmicrohttpd/src/testcurl/https/test_tls_options.c 2014-02-18 18:40:16 UTC
(rev 32403)
@@ -100,9 +100,9 @@
fprintf (stderr, "Curl does not support SSL. Cannot run the test.\n");
return 0;
}
- if (NULL != strcasestr (ssl_version, "openssl"))
+ if (0 != strncmp (ssl_version, "GnuTLS", 6))
{
- fprintf (stderr, "Refusing to run test with OpenSSL. Please install
libcurl-gnutls\n");
+ fprintf (stderr, "This test can be run only with libcurl-gnutls.\n");
return 0;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r32403 - libmicrohttpd/src/testcurl/https,
gnunet <=