Add better explanation of FreeRDP_EnforceTLSv1_2

This commit is contained in:
akallabeth 2022-06-23 08:36:25 +02:00 committed by akallabeth
parent 0563dae8b3
commit ce2e3ab0c7
2 changed files with 4 additions and 2 deletions

View File

@ -2897,7 +2897,8 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
}
CommandLineSwitchCase(arg, "enforce-tlsv1_2")
{
settings->EnforceTLSv1_2 = enable;
if (!freerdp_settings_set_bool(settings, FreeRDP_EnforceTLSv1_2, enable))
return COMMAND_LINE_ERROR_UNEXPECTED_VALUE;
}
CommandLineSwitchCase(arg, "cert")
{

View File

@ -370,7 +370,8 @@ static const COMMAND_LINE_ARGUMENT_A global_cmd_args[] = {
{ "tls-seclevel", COMMAND_LINE_VALUE_REQUIRED, "<level>", "1", NULL, -1, NULL,
"TLS security level - defaults to 1" },
{ "enforce-tlsv1_2", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
"Use TLS1.2 for connection." },
"Force use of TLS1.2 for connection. Some servers have a buggy TLS version negotiation and "
"might fail without this" },
{ "toggle-fullscreen", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
"Alt+Ctrl+Enter to toggle fullscreen" },
{ "tune", COMMAND_LINE_VALUE_REQUIRED, "<setting:value>,<setting:value>", "", NULL, -1, NULL,