1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

make this test disabled properly when built with yassl

This commit is contained in:
Daniel Stenberg 2008-02-13 21:36:24 +00:00
parent cf9259dd92
commit 11fae450fa

View File

@ -331,11 +331,14 @@ int test(char *URL)
return i; return i;
} }
#endif /* YASSL_VERSION */ #endif /* YASSL_VERSION */
#else /* USE_SSLEAY */ #endif /* USE_SSLEAY */
#if !defined(USE_SSLEAY) || defined(YASSL_VERSION)
int test(char *URL) int test(char *URL)
{ {
(void)URL; (void)URL;
if (curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) { if (curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) {
fprintf(stderr, "curl_global_init() failed\n"); fprintf(stderr, "curl_global_init() failed\n");
return TEST_ERR_MAJOR_BAD; return TEST_ERR_MAJOR_BAD;