Use mutual auth for gateway

Windows seems to bug out when not using mutual auth; it accepts the
connection without sending the last auth message.
This commit is contained in:
fifthdegree 2022-10-18 22:26:43 -04:00 committed by David Fort
parent ffe8e45aff
commit f13fd769f7

View File

@ -1639,7 +1639,7 @@ static BOOL rdg_auth_init(rdpRdg* rdg, rdpTls* tls)
}
sspi_FreeAuthIdentity(&identity);
credssp_auth_set_flags(rdg->auth, ISC_REQ_CONFIDENTIALITY);
credssp_auth_set_flags(rdg->auth, ISC_REQ_CONFIDENTIALITY | ISC_REQ_MUTUAL_AUTH);
rc = credssp_auth_authenticate(rdg->auth);
if (rc < 0)