diff options
author | Marc Aldorasi <marc@groundctl.com> | 2019-12-13 17:23:11 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2020-01-11 18:10:47 -0500 |
commit | ea6d6205d9e13ce688afed28f6a09ade49b348d3 (patch) | |
tree | b92fb7e6371c590fc3817e491385bdf0d2326277 /lib/md4.c | |
parent | c9c551f1f9a46c3087122e5786cceff72896dac5 (diff) | |
download | curl-ea6d6205d9e13ce688afed28f6a09ade49b348d3.tar.gz |
cmake: Enable SMB for Windows builds
- Define USE_WIN32_CRYPTO by default. This enables SMB.
- Show whether SMB is enabled in the "Enabled features" output.
- Fix mingw compiler warning for call to CryptHashData by casting away
const param. mingw CryptHashData prototype is wrong.
Closes https://github.com/curl/curl/pull/4717
Diffstat (limited to 'lib/md4.c')
-rw-r--r-- | lib/md4.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -156,7 +156,7 @@ static void MD4_Init(MD4_CTX *ctx) static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size) { - CryptHashData(ctx->hHash, data, (unsigned int) size, 0); + CryptHashData(ctx->hHash, (BYTE *)data, (unsigned int) size, 0); } static void MD4_Final(unsigned char *result, MD4_CTX *ctx) |