139 |
licence_process_demand(STREAM s) |
licence_process_demand(STREAM s) |
140 |
{ |
{ |
141 |
uint8 null_data[SEC_MODULUS_SIZE]; |
uint8 null_data[SEC_MODULUS_SIZE]; |
|
uint8 hwid[LICENCE_HWID_SIZE]; |
|
|
uint8 signature[LICENCE_SIGNATURE_SIZE]; |
|
142 |
uint8 *server_random; |
uint8 *server_random; |
143 |
|
#ifdef SAVE_LICENCE |
144 |
|
uint8 signature[LICENCE_SIGNATURE_SIZE]; |
145 |
|
uint8 hwid[LICENCE_HWID_SIZE]; |
146 |
uint8 *licence_data; |
uint8 *licence_data; |
147 |
int licence_size; |
int licence_size; |
148 |
RC4_KEY crypt_key; |
RC4_KEY crypt_key; |
149 |
|
#endif |
150 |
|
|
151 |
/* Retrieve the server random from the incoming packet */ |
/* Retrieve the server random from the incoming packet */ |
152 |
in_uint8p(s, server_random, SEC_RANDOM_SIZE); |
in_uint8p(s, server_random, SEC_RANDOM_SIZE); |