mirror of
https://github.com/rehlds/reunion.git
synced 2025-04-15 05:22:29 +03:00
fixed compat with reunion2015 version
authdata->steamId should be always hash of full ticket
This commit is contained in:
parent
58e894ef25
commit
95d3e935d8
@ -96,7 +96,7 @@ void RevEmuFinishAuthorization(authdata_t* authdata, const char* authStr, size_t
|
||||
memcpy(authdata->authKey, authStr, authdata->authKeyLen);
|
||||
authdata->authKey[authdata->authKeyLen] = '\0';
|
||||
|
||||
authdata->steamId = revHash(authdata->authKey, Reunion_AuthKeyMaxLen(authdata)) << 1;
|
||||
authdata->steamId = revHash(authdata->authKey) << 1;
|
||||
|
||||
if (authStr == (char *)&volumeId)
|
||||
LCPrintf(false, "RevEmu auth key: '%u' steamid: %u\n", (uint32_t)authStr, authdata->steamId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user