From 95d3e935d8b106af47144a75d3a829d68702a87a Mon Sep 17 00:00:00 2001 From: s1lentq Date: Sun, 13 Apr 2025 00:54:58 +0700 Subject: [PATCH] fixed compat with reunion2015 version authdata->steamId should be always hash of full ticket --- reunion/src/reunion_authorizers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reunion/src/reunion_authorizers.cpp b/reunion/src/reunion_authorizers.cpp index 6a7a67b..557740a 100644 --- a/reunion/src/reunion_authorizers.cpp +++ b/reunion/src/reunion_authorizers.cpp @@ -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);