aboutsummaryrefslogtreecommitdiff
path: root/lib/md4.c
diff options
context:
space:
mode:
authorPatrick Monnerat <pm@datasphere.ch>2014-12-05 16:11:07 +0100
committerPatrick Monnerat <pm@datasphere.ch>2014-12-05 18:42:39 +0100
commit9b0b9f209e11c7562761214e5cc6801b2bbbaf2e (patch)
tree21054d0affd450e4d227f9780eecac52376143ae /lib/md4.c
parentadbee7ecf5097c2aba37548e88e3163b313fdda3 (diff)
OS400: enable NTLM authentication
Diffstat (limited to 'lib/md4.c')
-rw-r--r--lib/md4.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/md4.c b/lib/md4.c
index 6930e021a..fd0c6d4ab 100644
--- a/lib/md4.c
+++ b/lib/md4.c
@@ -22,9 +22,9 @@
#include "curl_setup.h"
-/* NSS crypto library does not provide the MD4 hash algorithm, so that we have
- * a local implementation of it */
-#ifdef USE_NSS
+/* NSS and OS/400 crypto library do not provide the MD4 hash algorithm, so
+ * that we have a local implementation of it */
+#if defined(USE_NSS) || defined(USE_OS400CRYPTO)
#include "curl_md4.h"
#include "warnless.h"
@@ -279,4 +279,4 @@ void Curl_md4it(unsigned char *output, const unsigned char *input, size_t len)
MD4Update(&ctx, input, curlx_uztoui(len));
MD4Final(output, &ctx);
}
-#endif /* USE_NSS */
+#endif /* defined(USE_NSS) || defined(USE_OS400CRYPTO) */