From 11fae450fafdf65df0088052062fd3b86de805ee Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 13 Feb 2008 21:36:24 +0000 Subject: make this test disabled properly when built with yassl --- tests/libtest/lib509.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/libtest/lib509.c') diff --git a/tests/libtest/lib509.c b/tests/libtest/lib509.c index 6650149f9..6e5e67139 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; -- cgit v1.2.3