summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_sec.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2014-08-05 11:59:52 -0700
committerJay Sorg <jay.sorg@gmail.com>2014-08-05 11:59:52 -0700
commit821bf3e2a58e7f8de641118e608f58517a1567fb (patch)
treebf7dcb2744d87ba9ecb202db70d86dfd6aeba995 /libxrdp/xrdp_sec.c
parent59bba82f672483330f97580c7921a08f193c6fa3 (diff)
downloadxrdp-proprietary-821bf3e2a58e7f8de641118e608f58517a1567fb.tar.gz
xrdp-proprietary-821bf3e2a58e7f8de641118e608f58517a1567fb.zip
no logic change, convert tabs to spaces
Diffstat (limited to 'libxrdp/xrdp_sec.c')
-rw-r--r--libxrdp/xrdp_sec.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/libxrdp/xrdp_sec.c b/libxrdp/xrdp_sec.c
index 5a63afc8..faaf9133 100644
--- a/libxrdp/xrdp_sec.c
+++ b/libxrdp/xrdp_sec.c
@@ -1210,14 +1210,14 @@ xrdp_sec_recv(struct xrdp_sec *self, struct stream *s, int *chan)
However, client info packet and license packet always have security header. */
if (s->data[17] == 0x13) /* confirm active pdu */
{
- g_writeln("CONFIRM ACTIVE ARRIVED");
- return 0;
+ g_writeln("CONFIRM ACTIVE ARRIVED");
+ return 0;
}
if (s->data[17] == 0x17 || s->data[16] == 0x17) /* rdp data pdu */
{
- g_writeln("RDP DATA ARRIVED");
- return 0;
+ g_writeln("RDP DATA ARRIVED");
+ return 0;
}
in_uint32_le(s, flags);
@@ -2096,7 +2096,7 @@ xrdp_sec_init_rdp_security(struct xrdp_sec *self)
}
else
{
- self->decrypt_rc4_info = ssl_rc4_info_create();
+ self->decrypt_rc4_info = ssl_rc4_info_create();
}
if (self->encrypt_rc4_info != NULL)
@@ -2105,11 +2105,12 @@ xrdp_sec_init_rdp_security(struct xrdp_sec *self)
}
else
{
- self->encrypt_rc4_info = ssl_rc4_info_create();
+ self->encrypt_rc4_info = ssl_rc4_info_create();
}
- return 0;
+ return 0;
}
+
/*****************************************************************************/
int APP_CC
xrdp_sec_incoming(struct xrdp_sec *self)
@@ -2153,7 +2154,7 @@ xrdp_sec_incoming(struct xrdp_sec *self)
}
else
{
- /* init rdp security */
+ /* init rdp security */
DEBUG((" in xrdp_sec_incoming: init rdp security"));
if (xrdp_sec_init_rdp_security(self) != 0)
{