Commit fde63f97 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

secur32: Cast-qual warning fix.

parent 5319668a
...@@ -151,7 +151,7 @@ void SECUR32_CalcNTLMv2Subkey(PBYTE session_key, const char *magic, PBYTE subkey ...@@ -151,7 +151,7 @@ void SECUR32_CalcNTLMv2Subkey(PBYTE session_key, const char *magic, PBYTE subkey
MD5Init(&ctx); MD5Init(&ctx);
MD5Update(&ctx, session_key, 16); MD5Update(&ctx, session_key, 16);
MD5Update(&ctx, (unsigned char*)magic, lstrlenA(magic)+1); MD5Update(&ctx, (const unsigned char*)magic, lstrlenA(magic)+1);
MD5Final(&ctx); MD5Final(&ctx);
memcpy(subkey, ctx.digest, 16); memcpy(subkey, ctx.digest, 16);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment