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.
This commit is contained in:
@@ -90,10 +90,9 @@
|
|||||||
#undef HAVE_ENGINE_LOAD_FOUR_ARGS
|
#undef HAVE_ENGINE_LOAD_FOUR_ARGS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x00903001L
|
#if (OPENSSL_VERSION_NUMBER >= 0x00903001L) && defined(HAVE_OPENSSL_PKCS12_H)
|
||||||
/* OpenSSL has PKCS 12 support */
|
/* OpenSSL has PKCS 12 support */
|
||||||
#define HAVE_PKCS12_SUPPORT
|
#define HAVE_PKCS12_SUPPORT
|
||||||
#include <openssl/pkcs12.h>
|
|
||||||
#else
|
#else
|
||||||
/* OpenSSL/SSLEay does not have PKCS12 support */
|
/* OpenSSL/SSLEay does not have PKCS12 support */
|
||||||
#undef HAVE_PKCS12_SUPPORT
|
#undef HAVE_PKCS12_SUPPORT
|
||||||
|
|||||||
@@ -61,6 +61,9 @@
|
|||||||
#ifdef HAVE_OPENSSL_ENGINE_H
|
#ifdef HAVE_OPENSSL_ENGINE_H
|
||||||
#include <openssl/engine.h>
|
#include <openssl/engine.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_OPENSSL_PKCS12_H
|
||||||
|
#include <openssl/pkcs12.h>
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include "rsa.h"
|
#include "rsa.h"
|
||||||
#include "crypto.h"
|
#include "crypto.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user