From ad1bf0f3891b6c89f347b3c4b992ae723bc6a258 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Thu, 12 Jun 2003 13:18:10 +0000
Subject: [PATCH] attempt to make older OpenSSL versions work with the DES
 stuff

---
 lib/http_ntlm.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c
index 5fec163147..639d147d3c 100644
--- a/lib/http_ntlm.c
+++ b/lib/http_ntlm.c
@@ -46,6 +46,15 @@
 
 #include <openssl/des.h>
 #include <openssl/md4.h>
+#include <openssl/ssl.h>
+
+#if OPENSSL_VERSION_NUMBER < 0x00907001L
+#define DES_key_schedule des_key_schedule
+#define DES_cblock des_cblock
+#define DES_set_odd_parity des_set_odd_parity
+#define DES_set_key des_set_key
+#define DES_ecb_encrypt des_ecb_encrypt
+#endif
 
 /* The last #include file should be: */
 #ifdef MALLOCDEBUG
-- 
GitLab