diff options
author | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2014-07-26 15:06:35 -0700 |
---|---|---|
committer | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2014-07-26 15:06:35 -0700 |
commit | 0915d33d707d7bd29e724ebc9412a17fdd5840d4 (patch) | |
tree | 867c00574f591bb4797e10803eabf0b023e94498 /rdp/rdp_lic.c | |
parent | 56e43c4a3899f9efd4c02f8a2abc0407691b20b5 (diff) | |
download | xrdp-proprietary-0915d33d707d7bd29e724ebc9412a17fdd5840d4.tar.gz xrdp-proprietary-0915d33d707d7bd29e724ebc9412a17fdd5840d4.zip |
coverity: dead code
Diffstat (limited to 'rdp/rdp_lic.c')
-rw-r--r-- | rdp/rdp_lic.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rdp/rdp_lic.c b/rdp/rdp_lic.c index e3ff3a7e..5c61ed00 100644 --- a/rdp/rdp_lic.c +++ b/rdp/rdp_lic.c @@ -174,8 +174,10 @@ rdp_lic_process_demand(struct rdp_lic *self, struct stream *s) the security of licence negotiation isn't exactly paramount. */ g_memset(null_data, 0, sizeof(null_data)); rdp_lic_generate_keys(self, null_data, server_random, null_data); + licence_size = 0; /* todo load_licence(&licence_data); */ +#if 0 if (licence_size > 0) { /* Generate a signature for the HWID buffer */ @@ -192,6 +194,7 @@ rdp_lic_process_demand(struct rdp_lic *self, struct stream *s) g_free(licence_data); return; } +#endif rdp_lic_send_request(self, null_data, null_data, self->sec_layer->rdp_layer->mod->username, |