summaryrefslogtreecommitdiff
path: root/src/tool_metalink.c
diff options
context:
space:
mode:
authorAlessandro Ghedini <ghedo@debian.org>2019-07-12 20:16:40 +0100
committerAlessandro Ghedini <ghedo@debian.org>2019-07-12 20:16:40 +0100
commitb10ac967894740f12278c3918fe7d94394225740 (patch)
tree772c5b0efc5973a41ba5920d9d7bf31f00cac5f0 /src/tool_metalink.c
parent6a4d7f25b9ff57641a0c24d03488ac5b1e95ec5c (diff)
New upstream version 7.65.1
Diffstat (limited to 'src/tool_metalink.c')
-rw-r--r--src/tool_metalink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_metalink.c b/src/tool_metalink.c
index 4c426147..28aa7170 100644
--- a/src/tool_metalink.c
+++ b/src/tool_metalink.c
@@ -73,7 +73,7 @@
and later. If you're building for an older cat, well, sorry. */
# define COMMON_DIGEST_FOR_OPENSSL
# include <CommonCrypto/CommonDigest.h>
-#elif defined(_WIN32)
+#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>
@@ -380,7 +380,7 @@ static void SHA256_Final(unsigned char digest[32], SHA256_CTX *ctx)
sha256_finish(ctx, digest);
}
-#elif defined(_WIN32)
+#elif defined(WIN32)
static void win32_crypto_final(struct win32_crypto_hash *ctx,
unsigned char *digest,