summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-05-22 10:40:02 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-05-23 17:06:29 +0200
commit0dc9a8019962d31787c4929d36de6817ae3090e7 (patch)
treea39b76e16c993f2a77fe65da8ed188acad3ae393
parent0edf6907ae37e2020722e6f61229d8ec64095b0a (diff)
downloadcurl-0dc9a8019962d31787c4929d36de6817ae3090e7.tar.gz
md4: build correctly with openssl without MD4
Reported-by: elsamuko at github Fixes #3921 Closes #3922
-rw-r--r--lib/md4.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/md4.c b/lib/md4.c
index e7c77bc36..184985755 100644
--- a/lib/md4.c
+++ b/lib/md4.c
@@ -38,6 +38,10 @@
#include "curl_setup.h"
+#ifdef USE_OPENSSL
+#include <openssl/opensslconf.h>
+#endif
+
/* The NSS, OS/400, and when not included, OpenSSL and mbed TLS crypto
* libraries do not provide the MD4 hash algorithm, so we use this
* implementation of it */