//
// tls_post_process_client_key_exchange from 0x7abca8 to 0x7abd54 (172 bytes)
//
// 2 xrefs:
// > ossl_statem_server_post_process_message @ 0x7abd8c
// > ??> @ 0x5d69c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall tls_post_process_client_key_exchange(_DWORD *a1)
{
if ( a1[20] || !*(_DWORD *)(a1[60] + 140) )
{
if ( ssl3_digest_cached_records(a1, 0) )
return 2;
LABEL_7:
ossl_statem_set_error((int)a1);
return 0;
}
if ( *(_DWORD *)(a1[26] + 212) )
{
if ( ssl3_digest_cached_records(a1, 1) )
return 2;
goto LABEL_7;
}
ERR_put_error(20, 384, 68, "ssl/statem/statem_srvr.c", 2676);
ossl_statem_set_error((int)a1);
return 0;
}