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;
|
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 */
|
if (s->data[17] == 0x13) /* confirm active pdu */
|
||||||
{
|
{
|
||||||
g_writeln("CONFIRM ACTIVE ARRIVED");
|
g_writeln("CONFIRM ACTIVE ARRIVED");
|
||||||
in_uint8s(s, 6);
|
return 0;
|
||||||
return 3;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s->data[17] == 0x17 || s->data[16] == 0x17) /* rdp data pdu */
|
if (s->data[17] == 0x17 || s->data[16] == 0x17) /* rdp data pdu */
|
||||||
|
Loading…
Reference in New Issue
Block a user