diff options
author | jsorg71 <jsorg71> | 2005-12-09 02:49:17 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2005-12-09 02:49:17 +0000 |
commit | 2416b3a23e93ff63348c3073ca59541e229bceae (patch) | |
tree | 70e7c94dad6ab886b37fc4b9e85ce238d99894cc /rdp | |
parent | 6e3945622eb35efcb2c205a921df91bd7a1bbfd9 (diff) | |
download | xrdp-proprietary-2416b3a23e93ff63348c3073ca59541e229bceae.tar.gz xrdp-proprietary-2416b3a23e93ff63348c3073ca59541e229bceae.zip |
fix a couple of warnings
Diffstat (limited to 'rdp')
-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 3f67dfbb..0769750c 100644 --- a/rdp/rdp_lic.c +++ b/rdp/rdp_lic.c @@ -168,6 +168,7 @@ rdp_lic_process_demand(struct rdp_lic* self, struct stream* s) int licence_size; void* crypt_key; + licence_data = 0; /* Retrieve the server random from the incoming packet */ in_uint8p(s, server_random, SEC_RANDOM_SIZE); /* We currently use null client keys. This is a bit naughty but, hey, @@ -262,6 +263,8 @@ rdp_lic_process_authreq(struct rdp_lic* self, struct stream* s) char out_sig[LICENCE_SIGNATURE_SIZE]; void* crypt_key; + in_token = 0; + in_sig = 0; /* Parse incoming packet and save the encrypted token */ rdp_lic_parse_authreq(self, s, &in_token, &in_sig); g_memcpy(out_token, in_token, LICENCE_TOKEN_SIZE); |