Commit 4681b3ae by Edward Thomson

ntlmclient: update to latest version

Ensure that we declare variables at the top of the block for broad
compatibility with old compilers.
parent 2dbc810a
...@@ -59,11 +59,12 @@ bool ntlm_des_encrypt( ...@@ -59,11 +59,12 @@ bool ntlm_des_encrypt(
ntlm_des_block *plaintext, ntlm_des_block *plaintext,
ntlm_des_block *key) ntlm_des_block *key)
{ {
CCCryptorStatus result;
size_t written; size_t written;
NTLM_UNUSED(ntlm); NTLM_UNUSED(ntlm);
CCCryptorStatus result = CCCrypt(kCCEncrypt, result = CCCrypt(kCCEncrypt,
kCCAlgorithmDES, kCCOptionECBMode, kCCAlgorithmDES, kCCOptionECBMode,
key, sizeof(ntlm_des_block), NULL, key, sizeof(ntlm_des_block), NULL,
plaintext, sizeof(ntlm_des_block), plaintext, sizeof(ntlm_des_block),
......
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