aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-06-12 13:18:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-06-12 13:18:10 +0000
commitad1bf0f3891b6c89f347b3c4b992ae723bc6a258 (patch)
treeac546f1c79f3e7d5fc891f822cfa3bb61f695c7e /lib
parent9c7703ace1dcf05707a15fb15db8048d016fa208 (diff)
attempt to make older OpenSSL versions work with the DES stuff
Diffstat (limited to 'lib')
-rw-r--r--lib/http_ntlm.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c
index 5fec16314..639d147d3 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