From: Daniel Stenberg Date: Wed, 13 Feb 2008 21:36:24 +0000 (+0000) Subject: make this test disabled properly when built with yassl X-Git-Tag: curl-7_18_1~123 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11fae450fafdf65df0088052062fd3b86de805ee;p=thirdparty%2Fcurl.git make this test disabled properly when built with yassl --- diff --git a/tests/libtest/lib509.c b/tests/libtest/lib509.c index 6650149f94..6e5e67139a 100644 --- a/tests/libtest/lib509.c +++ b/tests/libtest/lib509.c @@ -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;