]> granicus.if.org Git - curl/commitdiff
openssl/bio.h doesn't exist when we build with yassl so avoid trying
authorDaniel Stenberg <daniel@haxx.se>
Fri, 16 Mar 2007 22:44:46 +0000 (22:44 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Mar 2007 22:44:46 +0000 (22:44 +0000)
tests/libtest/lib509.c

index 03963b39f7acabc9628fdcec508e2056c4cc9078..34749e2d35d0b71c5ffa9541fecabab13fd54c1b 100644 (file)
 #include <sys/types.h>
 
 #include <openssl/opensslv.h>
+#include <openssl/ssl.h>
+
+#ifndef YASSL_VERSION
+
 #include <openssl/x509v3.h>
 #include <openssl/x509_vfy.h>
 #include <openssl/crypto.h>
@@ -25,7 +29,6 @@
 #include <openssl/x509.h>
 #include <openssl/pkcs12.h>
 #include <openssl/bio.h>
-#include <openssl/ssl.h>
 
 #include "testutil.h"
 
@@ -332,7 +335,7 @@ int test(char *URL)
 
   return i;
 }
-
+#endif /* YASSL_VERSION */
 #else /* USE_SSLEAY */
 
 int test(char *URL)