]> granicus.if.org Git - curl/commitdiff
md4: build correctly with openssl without MD4
authorDaniel Stenberg <daniel@haxx.se>
Wed, 22 May 2019 08:40:02 +0000 (10:40 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 23 May 2019 15:06:29 +0000 (17:06 +0200)
Reported-by: elsamuko at github
Fixes #3921
Closes #3922

lib/md4.c

index e7c77bc36edcead9d4b6f00f098bfcfbb275b548..184985755e39b0278ea2da444ad9c828858ff889 100644 (file)
--- a/lib/md4.c
+++ b/lib/md4.c
 
 #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 */