[core,rdstls] Fix getting password as pointer

This commit is contained in:
Joan Torres 2023-03-09 20:19:28 +01:00 committed by Martin Fleisz
parent 36a5c39b6b
commit 41c0f22398

View File

@ -448,7 +448,7 @@ static BOOL rdstls_process_authentication_request_with_password(rdpRdstls* rdstl
freerdp_settings_get_uint32(settings, FreeRDP_RedirectionGuidLength);
serverUsername = freerdp_settings_get_string(settings, FreeRDP_Username);
serverDomain = freerdp_settings_get_string(settings, FreeRDP_Domain);
serverPassword = freerdp_settings_get_pointer(settings, FreeRDP_Password);
serverPassword = freerdp_settings_get_string(settings, FreeRDP_Password);
rdstls->resultCode = ERROR_SUCCESS;