diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2012-09-11 14:35:18 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2012-09-11 14:35:18 +0200 |
commit | 7f7e2ea72f2471a20060024d6a2d8377d21bcba9 (patch) | |
tree | ba5d49d93ca451d599ec69ba2f13cb7105476626 | |
parent | 4d384a87142dccb13b8198147b5db15a4aaa9906 (diff) | |
download | curl-7f7e2ea72f2471a20060024d6a2d8377d21bcba9.tar.gz |
wincrypt: Fixed cross-compilation issues caused by include name
For some reason WinCrypt.h is named wincrypt.h under MinGW.
-rw-r--r-- | lib/md5.c | 2 | ||||
-rw-r--r-- | src/tool_metalink.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -86,7 +86,7 @@ static void MD5_Final(unsigned char digest[16], MD5_CTX * ctx) #elif defined(_WIN32) -#include <WinCrypt.h> +#include <wincrypt.h> typedef struct { HCRYPTPROV hCryptProv; diff --git a/src/tool_metalink.c b/src/tool_metalink.c index 9199b50f7..279a626cb 100644 --- a/src/tool_metalink.c +++ b/src/tool_metalink.c @@ -64,7 +64,7 @@ #elif defined(_WIN32) /* For Windows: If no other crypto library is provided, we fallback to the hash functions provided within the Microsoft Windows CryptoAPI */ -# include <WinCrypt.h> +# include <wincrypt.h> /* Custom structure in order to store the required provider and hash handle */ struct win32_crypto_hash { HCRYPTPROV hCryptProv; |