mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
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_Buffer(challengeRespData), Stream_Length(challengeRespData));
|
||||||
CopyMemory(&buffer[Stream_Length(challengeRespData)], license->HardwareId,
|
CopyMemory(&buffer[Stream_Length(challengeRespData)], license->HardwareId,
|
||||||
sizeof(license->HardwareId));
|
sizeof(license->HardwareId));
|
||||||
status = security_mac_data(license->MacSaltKey, sizeof(license->MacSaltKey),
|
status = security_mac_data(license->MacSaltKey, sizeof(license->MacSaltKey), buffer, length,
|
||||||
sizeof(license->MacSaltKey), buffer, length, license->MACData);
|
license->MACData, sizeof(license->MACData));
|
||||||
free(buffer);
|
free(buffer);
|
||||||
|
|
||||||
if (!status)
|
if (!status)
|
||||||
|
@ -263,7 +263,7 @@ static BOOL shadow_client_context_new(freerdp_peer* peer, rdpContext* context)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
shadow_client_context_free(peer, client);
|
shadow_client_context_free(peer, context);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user