mirror of https://github.com/neutrinolabs/xrdp
libxrdp: work on TLS mode
This commit is contained in:
parent
df87033489
commit
5a0d1f028a
|
@ -1002,12 +1002,12 @@ xrdp_sec_recv(struct xrdp_sec *self, struct stream *s, int *chan)
|
|||
return 1;
|
||||
}
|
||||
|
||||
//TODO: HACK, we should recognize packets with sec header: client info, and license.
|
||||
/* TODO: HACK, we should recognize packets without security header
|
||||
However, client info packet and license packet always have security header. */
|
||||
if (s->data[17] == 0x13) /* confirm active pdu */
|
||||
{
|
||||
g_writeln("CONFIRM ACTIVE ARRIVED");
|
||||
in_uint8s(s, 6);
|
||||
return 3;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (s->data[17] == 0x17 || s->data[16] == 0x17) /* rdp data pdu */
|
||||
|
|
Loading…
Reference in New Issue