diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2014-06-18 22:02:58 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2014-06-18 22:02:58 -0700 |
commit | bd810c0695f36f9713043b8e085b05b420069532 (patch) | |
tree | 00b71bb4ce2da4999ab910a24b948e09db8ed820 /libxrdp/xrdp_mcs.c | |
parent | fef8cd9c978e39e5a8a33af4bced786d2d8d12b3 (diff) | |
download | xrdp-proprietary-bd810c0695f36f9713043b8e085b05b420069532.tar.gz xrdp-proprietary-bd810c0695f36f9713043b8e085b05b420069532.zip |
support 2048 bit RSA keys
Diffstat (limited to 'libxrdp/xrdp_mcs.c')
-rw-r--r-- | libxrdp/xrdp_mcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libxrdp/xrdp_mcs.c b/libxrdp/xrdp_mcs.c index ba5ea73e..c1b0b908 100644 --- a/libxrdp/xrdp_mcs.c +++ b/libxrdp/xrdp_mcs.c @@ -718,7 +718,7 @@ xrdp_mcs_send_connect_response(struct xrdp_mcs *self) DEBUG((" in xrdp_mcs_send_connect_response")); make_stream(s); init_stream(s, 8192); - data_len = self->server_mcs_data->end - self->server_mcs_data->data; + data_len = (int) (self->server_mcs_data->end - self->server_mcs_data->data); xrdp_iso_init(self->iso_layer, s); xrdp_mcs_ber_out_header(self, s, MCS_CONNECT_RESPONSE, data_len + 38); xrdp_mcs_ber_out_header(self, s, BER_TAG_RESULT, 1); |