]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
win32: Use DES_set_odd_parity() from OpenSSL/BoringSSL by default
authorSteve Holme <steve_holme@hotmail.com>
Sun, 30 Aug 2015 19:50:52 +0000 (20:50 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 30 Aug 2015 21:06:10 +0000 (22:06 +0100)
Set HAVE_DES_SET_ODD_PARITY when using OpenSSL/BoringSSL as native
Windows builds don't use the autoconf tools.

lib/config-win32.h

index e9a371212f5bf00998c0f77572bc5b84c8482a05..49040c2add531bac1d3d50de5be521c58373c9d4 100644 (file)
    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