mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
secur32: Fix conversion of password in NTLM AcquireCredentialsHandleA.
This commit is contained in:
parent
03b040c51d
commit
3ba73f0ff6
@ -353,7 +353,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_AcquireCredentialsHandleA(
|
||||
passwd = HeapAlloc(GetProcessHeap(), 0, passwd_sizeW
|
||||
* sizeof(SEC_WCHAR));
|
||||
MultiByteToWideChar(CP_ACP, 0, (LPCSTR)identity->Password,
|
||||
identity->PasswordLength, passwd, passwd_sizeW);
|
||||
identity->PasswordLength+1, passwd, passwd_sizeW);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user