mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -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;
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user