//
// SSL_check_private_key from 0x796db4 to 0x796e64 (176 bytes)
//
// 1 xrefs:
// > ??> @ 0x5bc4c
//
// 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 SSL_check_private_key(int a1)
{
_DWORD *v1; // r3
if ( a1 )
{
v1 = **(_DWORD ***)(a1 + 200);
if ( *v1 )
{
if ( v1[1] )
return X509_check_private_key();
ERR_put_error(20, 163, 190, "ssl/ssl_lib.c", 1415);
}
else
{
ERR_put_error(20, 163, 177, "ssl/ssl_lib.c", 1411);
}
}
else
{
ERR_put_error(20, 163, 67, "ssl/ssl_lib.c", 1407);
}
return 0;
}