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:
parent
ffe8e45aff
commit
f13fd769f7
@ -1639,7 +1639,7 @@ static BOOL rdg_auth_init(rdpRdg* rdg, rdpTls* tls)
|
|||||||
}
|
}
|
||||||
sspi_FreeAuthIdentity(&identity);
|
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);
|
rc = credssp_auth_authenticate(rdg->auth);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user