https tests: supported multi-TLS selection on libcurl >= 7.56.0,

fixed error report for failed initialisation of libcurl
This commit is contained in:
Evgeny Grin (Karlson2k) committed 2017-11-15 16:12:12 +03:00
1 parent fd7d712823
commit 23324164fb
13 files changed
+44 -56

No files matched your search

@@ -157,11 +157,8 @@ main (int argc, char *const *argv)
#endif
#endif /* MHD_HTTPS_REQUIRE_GRYPT */
srand (iseed);
if (0 != curl_global_init (CURL_GLOBAL_ALL))
{
fprintf (stderr, "Error: %s\n", strerror (errno));
return 99;
}
if (!testsuite_curl_global_init ())
return 99;
ssl_version = curl_version_info (CURLVERSION_NOW)->ssl_version;
if (NULL == ssl_version)
{