aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-08-30 20:50:52 +0100
committerSteve Holme <steve_holme@hotmail.com>2015-08-30 22:06:10 +0100
commit415f0370ea645203dc06336605cae965973aa1c3 (patch)
treea06ad24b804d32e58f126d2247ab06266d9cff0b /lib
parent347a6ee597b05b1caf1b9e539e318fadb90ae558 (diff)
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/config-win32.h6
1 files changed, 6 insertions, 0 deletions
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