summaryrefslogtreecommitdiffstats
path: root/crypto_openssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto_openssl.c')
-rw-r--r--crypto_openssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto_openssl.c b/crypto_openssl.c
index 57f10ae..0981117 100644
--- a/crypto_openssl.c
+++ b/crypto_openssl.c
@@ -139,6 +139,8 @@ cipher_ok (const char* name)
#if SSLEAY_VERSION_NUMBER < 0x0090581f
+#undef DES_check_key_parity
+#define DES_check_key_parity(x) 1
#endif /* SSLEAY_VERSION_NUMBER < 0x0090581f */
#ifndef EVP_CIPHER_name