aboutsummaryrefslogtreecommitdiff
path: root/lib/ssluse.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-12-19 09:37:32 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-12-19 09:37:32 +0000
commit3d647b9a981b9573d5495b6943d043b2130aa8fd (patch)
treec62d5f71f0dae5b81d8f78cd3e12157a95d76fbd /lib/ssluse.c
parent090a7f38be27b6e6afcc5ffb6fd51f887168b3f1 (diff)
if the pkcs12.h header exists, include it already in urldata.h to work around
a precedence problem with the zlib header. See CHANGES for details.
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r--lib/ssluse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index 47ee042ab..433b78158 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -90,10 +90,9 @@
#undef HAVE_ENGINE_LOAD_FOUR_ARGS
#endif
-#if OPENSSL_VERSION_NUMBER >= 0x00903001L
+#if (OPENSSL_VERSION_NUMBER >= 0x00903001L) && defined(HAVE_OPENSSL_PKCS12_H)
/* OpenSSL has PKCS 12 support */
#define HAVE_PKCS12_SUPPORT
-#include <openssl/pkcs12.h>
#else
/* OpenSSL/SSLEay does not have PKCS12 support */
#undef HAVE_PKCS12_SUPPORT