Compare commits
No commits in common. "a36d6e475d52207354378ca77809e409e43ae26a" and "ee4f1d7d7927528faca50f70bb89e6fd70f0c686" have entirely different histories.
a36d6e475d
...
ee4f1d7d79
|
@ -1158,11 +1158,6 @@ STEAMCLIENT_API void Steam_LogOn( HSteamUser hUser, HSteamPipe hSteamPipe, uint6
|
||||||
PRINT_DEBUG("%s\n", __FUNCTION__);
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
||||||
}
|
}
|
||||||
|
|
||||||
STEAMCLIENT_API void Steam_ReleaseThreadLocalMemory(bool thread_exit)
|
|
||||||
{
|
|
||||||
PRINT_DEBUG("%s\n", __FUNCTION__);
|
|
||||||
}
|
|
||||||
|
|
||||||
STEAMCLIENT_API void Steam_ReleaseUser( HSteamPipe hSteamPipe, HSteamUser hUser )
|
STEAMCLIENT_API void Steam_ReleaseUser( HSteamPipe hSteamPipe, HSteamUser hUser )
|
||||||
{
|
{
|
||||||
PRINT_DEBUG("%s\n", __FUNCTION__);
|
PRINT_DEBUG("%s\n", __FUNCTION__);
|
||||||
|
|
|
@ -374,15 +374,8 @@ SteamAPICall_t RequestEncryptedAppTicket( void *pDataToInclude, int cbDataToIncl
|
||||||
bool GetEncryptedAppTicket( void *pTicket, int cbMaxTicket, uint32 *pcbTicket )
|
bool GetEncryptedAppTicket( void *pTicket, int cbMaxTicket, uint32 *pcbTicket )
|
||||||
{
|
{
|
||||||
PRINT_DEBUG("Steam_User::GetEncryptedAppTicket %i\n", cbMaxTicket);
|
PRINT_DEBUG("Steam_User::GetEncryptedAppTicket %i\n", cbMaxTicket);
|
||||||
if (!pcbTicket) return false;
|
if (!pcbTicket || !pTicket) return false;
|
||||||
unsigned int ticket_size = encrypted_app_ticket.size() + 126;
|
unsigned int ticket_size = encrypted_app_ticket.size() + 126;
|
||||||
if (!cbMaxTicket) {
|
|
||||||
*pcbTicket = ticket_size;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!pTicket) return false;
|
|
||||||
|
|
||||||
//TODO figure out exact sizes?
|
//TODO figure out exact sizes?
|
||||||
if (ticket_size < cbMaxTicket) cbMaxTicket = ticket_size;
|
if (ticket_size < cbMaxTicket) cbMaxTicket = ticket_size;
|
||||||
char ticket_base[] = {0x08, 0x01};
|
char ticket_base[] = {0x08, 0x01};
|
||||||
|
|
Loading…
Reference in New Issue