mirror of https://github.com/FreeRDP/FreeRDP
Fixed sspi_CopyAuthIdentity, now checking source struct, if it is ANSI encoded.
This commit is contained in:
parent
56982d6100
commit
3d28c9dbf1
|
@ -377,7 +377,7 @@ int sspi_CopyAuthIdentity(SEC_WINNT_AUTH_IDENTITY* identity, SEC_WINNT_AUTH_IDEN
|
|||
{
|
||||
int status;
|
||||
|
||||
if (identity->Flags == SEC_WINNT_AUTH_IDENTITY_ANSI)
|
||||
if (srcIdentity->Flags == SEC_WINNT_AUTH_IDENTITY_ANSI)
|
||||
{
|
||||
status = sspi_SetAuthIdentity(identity, (char*) srcIdentity->User,
|
||||
(char*) srcIdentity->Domain, (char*) srcIdentity->Password);
|
||||
|
|
Loading…
Reference in New Issue