diff options
author | Idan Freiberg <speidy@gmail.com> | 2014-07-23 15:42:19 +0300 |
---|---|---|
committer | Idan Freiberg <speidy@gmail.com> | 2014-07-23 15:42:19 +0300 |
commit | 5a0d1f028a80a6a88b550c3494a95033eb11c79d (patch) | |
tree | 62115125f7abe42039983cff4f4cd7464a8c042a | |
parent | df870334895876cc9c5bec2bf720e4e2a8625daa (diff) | |
download | xrdp-proprietary-5a0d1f028a80a6a88b550c3494a95033eb11c79d.tar.gz xrdp-proprietary-5a0d1f028a80a6a88b550c3494a95033eb11c79d.zip |
libxrdp: work on TLS mode
-rw-r--r-- | libxrdp/xrdp_sec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libxrdp/xrdp_sec.c b/libxrdp/xrdp_sec.c index d5e19f76..0bb2688c 100644 --- a/libxrdp/xrdp_sec.c +++ b/libxrdp/xrdp_sec.c @@ -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 */ |