Commit 11fae450 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

make this test disabled properly when built with yassl

parent cf9259dd
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -331,11 +331,14 @@ int test(char *URL)
  return i;
}
#endif /* YASSL_VERSION */
#else /* USE_SSLEAY */
#endif /* USE_SSLEAY */

#if !defined(USE_SSLEAY) || defined(YASSL_VERSION)

int test(char *URL)
{
  (void)URL;

  if (curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) {
    fprintf(stderr, "curl_global_init() failed\n");
    return TEST_ERR_MAJOR_BAD;