win32: Use DES_set_odd_parity() from OpenSSL/BoringSSL by default

Set HAVE_DES_SET_ODD_PARITY when using OpenSSL/BoringSSL as native
Windows builds don't use the autoconf tools.
This commit is contained in:
Steve Holme 2015-08-30 20:50:52 +01:00
parent 347a6ee597
commit 415f0370ea

View File

@ -228,6 +228,12 @@
This is present in OpenSSL versions after 0.9.6b */ This is present in OpenSSL versions after 0.9.6b */
#define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
/* Define if you have the 'DES_set_odd_parity' function when using OpenSSL/
BoringSSL */
#if defined(USE_OPENSSL) || defined(HAVE_BORINGSSL)
#define HAVE_DES_SET_ODD_PARITY 1
#endif
/* Define if you have the select function. */ /* Define if you have the select function. */
#define HAVE_SELECT 1 #define HAVE_SELECT 1