mirror of https://github.com/FreeRDP/FreeRDP
Fixed compiler warnings
This commit is contained in:
parent
51e71b3c48
commit
d96860780f
|
@ -2419,8 +2419,8 @@ BOOL license_send_platform_challenge_response(rdpLicense* license)
|
|||
CopyMemory(buffer, Stream_Buffer(challengeRespData), Stream_Length(challengeRespData));
|
||||
CopyMemory(&buffer[Stream_Length(challengeRespData)], license->HardwareId,
|
||||
sizeof(license->HardwareId));
|
||||
status = security_mac_data(license->MacSaltKey, sizeof(license->MacSaltKey),
|
||||
sizeof(license->MacSaltKey), buffer, length, license->MACData);
|
||||
status = security_mac_data(license->MacSaltKey, sizeof(license->MacSaltKey), buffer, length,
|
||||
license->MACData, sizeof(license->MACData));
|
||||
free(buffer);
|
||||
|
||||
if (!status)
|
||||
|
|
|
@ -263,7 +263,7 @@ static BOOL shadow_client_context_new(freerdp_peer* peer, rdpContext* context)
|
|||
return TRUE;
|
||||
|
||||
fail:
|
||||
shadow_client_context_free(peer, client);
|
||||
shadow_client_context_free(peer, context);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue