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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/https/test_https_get_parallel_threads.c b/src/testcurl/https/test_https_get_parallel_threads.c index 239559ac..03f31270 100644 --- a/src/testcurl/https/test_https_get_parallel_threads.c +++ b/src/testcurl/https/test_https_get_parallel_threads.c | |||
@@ -150,15 +150,15 @@ main (int argc, char *const *argv) | |||
150 | return 99; | 150 | return 99; |
151 | } | 151 | } |
152 | ssl_version = curl_version_info (CURLVERSION_NOW)->ssl_version; | 152 | ssl_version = curl_version_info (CURLVERSION_NOW)->ssl_version; |
153 | if (0 != strncmp (ssl_version, "GnuTLS", 6)) | 153 | if (NULL == ssl_version) |
154 | { | 154 | { |
155 | fprintf (stderr, "This test can be run only with libcurl-gnutls.\n"); | 155 | fprintf (stderr, "Curl does not support SSL. Cannot run the test.\n"); |
156 | curl_global_cleanup (); | 156 | curl_global_cleanup (); |
157 | return 77; | 157 | return 77; |
158 | } | 158 | } |
159 | if (NULL == ssl_version) | 159 | if (0 != strncmp (ssl_version, "GnuTLS", 6)) |
160 | { | 160 | { |
161 | fprintf (stderr, "Curl does not support SSL. Cannot run the test.\n"); | 161 | fprintf (stderr, "This test can be run only with libcurl-gnutls.\n"); |
162 | curl_global_cleanup (); | 162 | curl_global_cleanup (); |
163 | return 77; | 163 | return 77; |
164 | } | 164 | } |