mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
make this test disabled properly when built with yassl
This commit is contained in:
parent
cf9259dd92
commit
11fae450fa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user