diff options
Diffstat (limited to 'src/testcurl/https/test_empty_response.c')
-rw-r--r-- | src/testcurl/https/test_empty_response.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/testcurl/https/test_empty_response.c b/src/testcurl/https/test_empty_response.c index ba7136a8..27cb1e31 100644 --- a/src/testcurl/https/test_empty_response.c +++ b/src/testcurl/https/test_empty_response.c | |||
@@ -222,11 +222,8 @@ main (int argc, char *const *argv) | |||
222 | unsigned int errorCount = 0; | 222 | unsigned int errorCount = 0; |
223 | (void)argc; /* Unused. Silent compiler warning. */ | 223 | (void)argc; /* Unused. Silent compiler warning. */ |
224 | 224 | ||
225 | if (0 != curl_global_init (CURL_GLOBAL_ALL)) | 225 | if (!testsuite_curl_global_init ()) |
226 | { | 226 | return 99; |
227 | fprintf (stderr, "Error: %s\n", strerror (errno)); | ||
228 | return 99; | ||
229 | } | ||
230 | if (NULL == curl_version_info (CURLVERSION_NOW)->ssl_version) | 227 | if (NULL == curl_version_info (CURLVERSION_NOW)->ssl_version) |
231 | { | 228 | { |
232 | fprintf (stderr, "Curl does not support SSL. Cannot run the test.\n"); | 229 | fprintf (stderr, "Curl does not support SSL. Cannot run the test.\n"); |