Removed RdpKeyFile and RdpKeyContent settings

They are a duplicate of PrivateKeyFile and PrivateKeyContent
This commit is contained in:
Armin Novak
2022-07-06 09:50:23 +02:00
committed by akallabeth
parent d0ae1c8160
commit b672bda85e
12 changed files with 11 additions and 94 deletions

View File

@@ -492,9 +492,7 @@ static BOOL pf_server_initialize_peer_connection(freerdp_peer* peer)
config->CertificateContent) ||
!freerdp_settings_set_string(settings, FreeRDP_PrivateKeyFile, config->PrivateKeyFile) ||
!freerdp_settings_set_string(settings, FreeRDP_PrivateKeyContent,
config->PrivateKeyContent) ||
!freerdp_settings_set_string(settings, FreeRDP_RdpKeyFile, config->RdpKeyFile) ||
!freerdp_settings_set_string(settings, FreeRDP_RdpKeyContent, config->RdpKeyContent))
config->PrivateKeyContent))
{
WLog_ERR(TAG, "Memory allocation failed (strdup)");
return FALSE;