diff --git a/libfreerdp/core/credssp_auth.c b/libfreerdp/core/credssp_auth.c index be4c3a53c..1cb03f194 100644 --- a/libfreerdp/core/credssp_auth.c +++ b/libfreerdp/core/credssp_auth.c @@ -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