[settings] Typo in GatewayHttpExtAuthSspiNtlm

This commit is contained in:
Armin Novak 2022-11-23 11:00:57 +01:00 коммит произвёл Martin Fleisz
Родитель 2cb8d93343
Коммит c5e425242a
5 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -2978,7 +2978,7 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
}
else if (option_equals(c, "extauth-sspi-ntlm"))
{
if (!freerdp_settings_set_bool(settings, FreeRDP_GatewayHttpExtAuthSspiNtln,
if (!freerdp_settings_set_bool(settings, FreeRDP_GatewayHttpExtAuthSspiNtlm,
TRUE))
return COMMAND_LINE_ERROR_UNEXPECTED_VALUE;
}

Просмотреть файл

@ -772,7 +772,7 @@ typedef struct
#define FreeRDP_GatewayAcceptedCert (1998)
#define FreeRDP_GatewayAcceptedCertLength (1999)
#define FreeRDP_GatewayHttpUseWebsockets (2000)
#define FreeRDP_GatewayHttpExtAuthSspiNtln (2001)
#define FreeRDP_GatewayHttpExtAuthSspiNtlm (2001)
#define FreeRDP_ProxyType (2015)
#define FreeRDP_ProxyHostname (2016)
#define FreeRDP_ProxyPort (2017)
@ -1338,7 +1338,7 @@ struct rdp_settings
ALIGN64 char* GatewayAcceptedCert; /* 1998 */
ALIGN64 UINT32 GatewayAcceptedCertLength; /* 1999 */
ALIGN64 BOOL GatewayHttpUseWebsockets; /* 2000 */
ALIGN64 BOOL GatewayHttpExtAuthSspiNtln; /* 2001 */
ALIGN64 BOOL GatewayHttpExtAuthSspiNtlm; /* 2001 */
UINT64 padding2015[2015 - 2002]; /* 2002 */
/* Proxy */

Просмотреть файл

@ -222,8 +222,8 @@ BOOL freerdp_settings_get_bool(const rdpSettings* settings, size_t id)
case FreeRDP_GatewayHttpUseWebsockets:
return settings->GatewayHttpUseWebsockets;
case FreeRDP_GatewayHttpExtAuthSspiNtln:
return settings->GatewayHttpExtAuthSspiNtln;
case FreeRDP_GatewayHttpExtAuthSspiNtlm:
return settings->GatewayHttpExtAuthSspiNtlm;
case FreeRDP_GatewayRpcTransport:
return settings->GatewayRpcTransport;
@ -832,8 +832,8 @@ BOOL freerdp_settings_set_bool(rdpSettings* settings, size_t id, BOOL val)
case FreeRDP_GatewayHttpUseWebsockets:
settings->GatewayHttpUseWebsockets = cnv.c;
break;
case FreeRDP_GatewayHttpExtAuthSspiNtln:
settings->GatewayHttpExtAuthSspiNtln = cnv.c;
case FreeRDP_GatewayHttpExtAuthSspiNtlm:
settings->GatewayHttpExtAuthSspiNtlm = cnv.c;
break;
case FreeRDP_GatewayRpcTransport:

Просмотреть файл

@ -2692,7 +2692,7 @@ rdpRdg* rdg_new(rdpContext* context)
rdg->state = RDG_CLIENT_STATE_INITIAL;
rdg->context = context;
rdg->settings = rdg->context->settings;
rdg->extAuth = (rdg->settings->GatewayHttpExtAuthSspiNtln ? HTTP_EXTENDED_AUTH_SSPI_NTLM
rdg->extAuth = (rdg->settings->GatewayHttpExtAuthSspiNtlm ? HTTP_EXTENDED_AUTH_SSPI_NTLM
: HTTP_EXTENDED_AUTH_NONE);
if (rdg->settings->GatewayAccessToken)

Просмотреть файл

@ -601,7 +601,7 @@ rdpSettings* freerdp_settings_new(DWORD flags)
!freerdp_settings_set_bool(settings, FreeRDP_GatewayHttpTransport, TRUE) ||
!freerdp_settings_set_bool(settings, FreeRDP_GatewayUdpTransport, TRUE) ||
!freerdp_settings_set_bool(settings, FreeRDP_GatewayHttpUseWebsockets, TRUE) ||
!freerdp_settings_set_bool(settings, FreeRDP_GatewayHttpExtAuthSspiNtln, FALSE) ||
!freerdp_settings_set_bool(settings, FreeRDP_GatewayHttpExtAuthSspiNtlm, FALSE) ||
!freerdp_settings_set_bool(settings, FreeRDP_FastPathInput, TRUE) ||
!freerdp_settings_set_bool(settings, FreeRDP_FastPathOutput, TRUE) ||
!freerdp_settings_set_bool(settings, FreeRDP_LongCredentialsSupported, TRUE) ||