summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2007-01-25 05:35:52 +0000
committerjsorg71 <jsorg71>2007-01-25 05:35:52 +0000
commite2df244be3a5075ec240a351c42186c86aee19b1 (patch)
tree5db617d1140f0311b4dc4c1569b65e6f7670e773
parent3ca241b2f5b10e17ea154e83e6a65683cbaf43c7 (diff)
downloadxrdp-proprietary-e2df244be3a5075ec240a351c42186c86aee19b1.tar.gz
xrdp-proprietary-e2df244be3a5075ec240a351c42186c86aee19b1.zip
got to create the channel layer
-rw-r--r--libxrdp/xrdp_sec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libxrdp/xrdp_sec.c b/libxrdp/xrdp_sec.c
index b550c8ab..a447a640 100644
--- a/libxrdp/xrdp_sec.c
+++ b/libxrdp/xrdp_sec.c
@@ -245,6 +245,7 @@ xrdp_sec_create(struct xrdp_rdp* owner, int sck, int crypt_level,
list_delete(values);
g_file_close(fd);
}
+ self->chan_layer = xrdp_channel_create(self, self->mcs_layer);
DEBUG((" out xrdp_sec_create"));
return self;
}
@@ -257,6 +258,7 @@ xrdp_sec_delete(struct xrdp_sec* self)
{
return;
}
+ xrdp_channel_delete(self->chan_layer);
xrdp_mcs_delete(self->mcs_layer);
ssl_rc4_info_delete(self->decrypt_rc4_info);
ssl_rc4_info_delete(self->encrypt_rc4_info);