]> granicus.if.org Git - curl/commitdiff
make this test disabled properly when built with yassl
authorDaniel Stenberg <daniel@haxx.se>
Wed, 13 Feb 2008 21:36:24 +0000 (21:36 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 13 Feb 2008 21:36:24 +0000 (21:36 +0000)
tests/libtest/lib509.c

index 6650149f94d6bb08c9367b6b388b2f4e9d5d4d1b..6e5e67139af7465137051153871ee75d0120caab 100644 (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;