mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-07-02 07:45:48 +00:00
Fix copying rikeyid value
This commit is contained in:
parent
b4ef1dde42
commit
296c8de759
@ -677,7 +677,7 @@ int gs_start_app(PSERVER_DATA server, STREAM_CONFIGURATION *config, int appId, b
|
|||||||
srand(time(NULL));
|
srand(time(NULL));
|
||||||
char url[4096];
|
char url[4096];
|
||||||
u_int32_t rikeyid = 0;
|
u_int32_t rikeyid = 0;
|
||||||
memset(&rikeyid, config->remoteInputAesIv, 4);
|
memcpy(&rikeyid, config->remoteInputAesIv, 4);
|
||||||
rikeyid = htonl(rikeyid);
|
rikeyid = htonl(rikeyid);
|
||||||
char rikey_hex[33];
|
char rikey_hex[33];
|
||||||
bytes_to_hex(config->remoteInputAesKey, rikey_hex, 16);
|
bytes_to_hex(config->remoteInputAesKey, rikey_hex, 16);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user