diff options
Diffstat (limited to 'src/testcurl/https/test_https_get_parallel_threads.c')
-rw-r--r-- | src/testcurl/https/test_https_get_parallel_threads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcurl/https/test_https_get_parallel_threads.c b/src/testcurl/https/test_https_get_parallel_threads.c index 84ce0a18..4e27370b 100644 --- a/src/testcurl/https/test_https_get_parallel_threads.c +++ b/src/testcurl/https/test_https_get_parallel_threads.c | |||
@@ -142,9 +142,9 @@ main (int argc, char *const *argv) | |||
142 | fprintf (stderr, "Curl does not support SSL. Cannot run the test.\n"); | 142 | fprintf (stderr, "Curl does not support SSL. Cannot run the test.\n"); |
143 | return 0; | 143 | return 0; |
144 | } | 144 | } |
145 | if (NULL != strcasestr (ssl_version, "openssl")) | 145 | if (0 != strncmp (ssl_version, "GnuTLS", 6)) |
146 | { | 146 | { |
147 | fprintf (stderr, "Refusing to run test with OpenSSL. Please install libcurl-gnutls\n"); | 147 | fprintf (stderr, "This test can be run only with libcurl-gnutls.\n"); |
148 | return 0; | 148 | return 0; |
149 | } | 149 | } |
150 | if (0 != curl_global_init (CURL_GLOBAL_ALL)) | 150 | if (0 != curl_global_init (CURL_GLOBAL_ALL)) |