nla: fix smartcard login under windows

Remove incorrect UNICODE flag for Ascii structures.
This commit is contained in:
David Fort 2022-02-28 13:10:16 +01:00 committed by akallabeth
parent a9463bfdda
commit 502f44949a

View File

@ -708,7 +708,7 @@ static BOOL nla_client_setup_identity(rdpNla* nla)
identityEx->PasswordLength = strlen(settings->SmartcardPin);
identityEx->Domain = NULL;
identityEx->DomainLength = 0;
identityEx->Flags = SEC_WINNT_AUTH_IDENTITY_UNICODE;
identityEx->Flags = SEC_WINNT_AUTH_IDENTITY_ANSI;
identityEx->PackageList = NULL;
identityEx->PackageListLength = 0;