From e2df244be3a5075ec240a351c42186c86aee19b1 Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Thu, 25 Jan 2007 05:35:52 +0000 Subject: got to create the channel layer --- libxrdp/xrdp_sec.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.1