[core,credssp] fix conversion from unicode
there was a mixup in the conversion and WCHAR was treated as utf8.
This commit is contained in:
parent
103c0a983c
commit
a8d3693b27
@ -653,7 +653,7 @@ const char* credssp_auth_pkg_name(rdpCredsspAuth* auth)
|
||||
if (!auth->pkgNameA)
|
||||
{
|
||||
WINPR_ASSERT(auth->info->Name);
|
||||
auth->pkgNameA = ConvertUtf8ToWCharAlloc(auth->info->Name, NULL);
|
||||
auth->pkgNameA = ConvertWCharToUtf8Alloc(auth->info->Name, NULL);
|
||||
}
|
||||
return auth->pkgNameA;
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user