diff options
author | Idan Freiberg <speidy@gmail.com> | 2014-07-15 18:29:40 +0300 |
---|---|---|
committer | Idan Freiberg <speidy@gmail.com> | 2014-07-15 18:29:40 +0300 |
commit | f0b6c6b1d178419ae82ad1c8ea2d74c97cc2f27b (patch) | |
tree | 4507c5940fa37c55c717dca7244faea0ed1507a5 /libxrdp/libxrdp.c | |
parent | 5fcf6beffa3367b8b313bf4414ffd6b3419c76d1 (diff) | |
download | xrdp-proprietary-f0b6c6b1d178419ae82ad1c8ea2d74c97cc2f27b.tar.gz xrdp-proprietary-f0b6c6b1d178419ae82ad1c8ea2d74c97cc2f27b.zip |
libxrdp: started adding TLS support
Diffstat (limited to 'libxrdp/libxrdp.c')
-rw-r--r-- | libxrdp/libxrdp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libxrdp/libxrdp.c b/libxrdp/libxrdp.c index e9c3508b..6a79e8fb 100644 --- a/libxrdp/libxrdp.c +++ b/libxrdp/libxrdp.c @@ -141,7 +141,11 @@ libxrdp_force_read(struct trans* trans) s = trans->in_s; init_stream(s, 32 * 1024); - if (trans_force_read(trans, 4) != 0) + if (trans->do_tls) + { + /*TLS*/ + } + else if (trans_force_read(trans, 4) != 0) /*TCP*/ { g_writeln("libxrdp_force_read: error"); return 0; |