diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-03-16 22:44:46 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-03-16 22:44:46 +0000 |
commit | c1f3edbdd1bfd08054e260c780ee8a0e3f90fadf (patch) | |
tree | 9342144da7d42a5d1bffc27ed0d4c8f430be09ed /tests | |
parent | a20a6f67c57885cf058343c6549932e589bfe06c (diff) |
openssl/bio.h doesn't exist when we build with yassl so avoid trying
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libtest/lib509.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/libtest/lib509.c b/tests/libtest/lib509.c index 03963b39f..34749e2d3 100644 --- a/tests/libtest/lib509.c +++ b/tests/libtest/lib509.c @@ -15,6 +15,10 @@ #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) |