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
1 changed files with 4 additions and 1 deletions

View File

@ -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;