From: Steve Holme Date: Sun, 30 Aug 2015 19:50:52 +0000 (+0100) Subject: win32: Use DES_set_odd_parity() from OpenSSL/BoringSSL by default X-Git-Tag: curl-7_45_0~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=415f0370ea645203dc06336605cae965973aa1c3;p=thirdparty%2Fcurl.git 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. --- diff --git a/lib/config-win32.h b/lib/config-win32.h index e9a371212f..49040c2add 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