From 415f0370ea645203dc06336605cae965973aa1c3 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 30 Aug 2015 20:50:52 +0100 Subject: 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. --- lib/config-win32.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/config-win32.h b/lib/config-win32.h index e9a371212..49040c2ad 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -228,6 +228,12 @@ This is present in OpenSSL versions after 0.9.6b */ #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 HAVE_SELECT 1 -- cgit v1.2.3