diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-06-12 13:18:10 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-06-12 13:18:10 +0000 |
commit | ad1bf0f3891b6c89f347b3c4b992ae723bc6a258 (patch) | |
tree | ac546f1c79f3e7d5fc891f822cfa3bb61f695c7e /lib | |
parent | 9c7703ace1dcf05707a15fb15db8048d016fa208 (diff) |
attempt to make older OpenSSL versions work with the DES stuff
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http_ntlm.c | 9 |
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 |