diff options
author | Idan Freiberg <speidy@gmail.com> | 2014-07-23 15:37:47 +0300 |
---|---|---|
committer | Idan Freiberg <speidy@gmail.com> | 2014-07-23 15:37:47 +0300 |
commit | df870334895876cc9c5bec2bf720e4e2a8625daa (patch) | |
tree | e68e8fd2e6b4d94a1f9f5c1cadb158b64038f131 /common/trans.c | |
parent | afdf638c7b56e7420e32853df6299d9217e0f8d4 (diff) | |
download | xrdp-proprietary-df870334895876cc9c5bec2bf720e4e2a8625daa.tar.gz xrdp-proprietary-df870334895876cc9c5bec2bf720e4e2a8625daa.zip |
trans: work on TLS
Diffstat (limited to 'common/trans.c')
-rw-r--r-- | common/trans.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/common/trans.c b/common/trans.c index d58bdd91..e13cd420 100644 --- a/common/trans.c +++ b/common/trans.c @@ -380,10 +380,6 @@ trans_tcp_force_read_s(struct trans *self, struct stream *in_s, int size) int APP_CC trans_force_read(struct trans *self, int size) { - if (self->tls != 0) - { - return xrdp_tls_force_read_s(self, self->in_s, size); - } return trans_force_read_s(self, self->in_s, size); } @@ -688,7 +684,7 @@ trans_shutdown_tls_mode(struct trans *self) return xrdp_tls_disconnect(self->tls); } - /* set callback to tls */ + /* set callback back to tcp */ self->trans_read_call = trans_tcp_force_read_s; self->trans_write_call = trans_tcp_force_write_s; return 0; |