1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-11 20:15:03 -05:00

openssl/bio.h doesn't exist when we build with yassl so avoid trying

This commit is contained in:
Daniel Stenberg 2007-03-16 22:44:46 +00:00
parent a20a6f67c5
commit c1f3edbdd1

View File

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