summaryrefslogtreecommitdiff
path: root/lib/md5.c
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2016-09-23 13:49:53 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2016-09-23 13:50:15 +0900
commit3e62527ed71a7a362d7ec321e7f026edab35f8e2 (patch)
tree7f3b26146600554e22d60afbe69035821056f299 /lib/md5.c
parent0a710b32648c435f792f5993fdefa2d96f802580 (diff)
downloadcurl-3e62527ed71a7a362d7ec321e7f026edab35f8e2.tar.gz
curl-3e62527ed71a7a362d7ec321e7f026edab35f8e2.tar.bz2
curl-3e62527ed71a7a362d7ec321e7f026edab35f8e2.zip
Imported Upstream version 7.50.2upstream/7.50.2
Change-Id: I91c6040940a21b2bebab9d6cab11d50767b7bac4
Diffstat (limited to 'lib/md5.c')
-rw-r--r--lib/md5.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/md5.c b/lib/md5.c
index 6df07dc06..f818d3288 100644
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -24,6 +24,8 @@
#ifndef CURL_DISABLE_CRYPTO_AUTH
+#include <curl/curl.h>
+
#include "curl_md5.h"
#include "curl_hmac.h"
#include "warnless.h"
@@ -122,7 +124,7 @@ static void MD5_Final(unsigned char digest[16], MD5_CTX *ctx)
CC_MD5_Final(digest, ctx);
}
-#elif defined(_WIN32)
+#elif defined(_WIN32) && !defined(CURL_WINDOWS_APP)
#include <wincrypt.h>
#include "curl_memory.h"