|
|
@ -174,8 +174,10 @@ rdp_lic_process_demand(struct rdp_lic *self, struct stream *s)
|
|
|
|
the security of licence negotiation isn't exactly paramount. */
|
|
|
|
the security of licence negotiation isn't exactly paramount. */
|
|
|
|
g_memset(null_data, 0, sizeof(null_data));
|
|
|
|
g_memset(null_data, 0, sizeof(null_data));
|
|
|
|
rdp_lic_generate_keys(self, null_data, server_random, null_data);
|
|
|
|
rdp_lic_generate_keys(self, null_data, server_random, null_data);
|
|
|
|
|
|
|
|
|
|
|
|
licence_size = 0; /* todo load_licence(&licence_data); */
|
|
|
|
licence_size = 0; /* todo load_licence(&licence_data); */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
if (licence_size > 0)
|
|
|
|
if (licence_size > 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/* Generate a signature for the HWID buffer */
|
|
|
|
/* 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);
|
|
|
|
g_free(licence_data);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
rdp_lic_send_request(self, null_data, null_data,
|
|
|
|
rdp_lic_send_request(self, null_data, null_data,
|
|
|
|
self->sec_layer->rdp_layer->mod->username,
|
|
|
|
self->sec_layer->rdp_layer->mod->username,
|
|
|
|