// // SSL_CTX_use_RSAPrivateKey from 0x79c490 to 0x79c564 (212 bytes) // // 3 xrefs: // > SSL_CTX_use_RSAPrivateKey_file @ 0x79c61c // > SSL_CTX_use_RSAPrivateKey_ASN1 @ 0x79c708 // > @ 0x5c94c // // 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_CTX_use_RSAPrivateKey(int a1, int a2) { int v4; // r5 int v5; // r4 if ( a2 ) { v4 = EVP_PKEY_new(); if ( v4 ) { RSA_up_ref(a2); if ( EVP_PKEY_assign(v4, 6, a2) <= 0 ) { RSA_free(a2); EVP_PKEY_free(v4); return 0; } else { v5 = sub_79B6F4(*(_DWORD **)(a1 + 176), v4); EVP_PKEY_free(v4); return v5; } } else { ERR_put_error(20, 177, 6, "ssl/ssl_rsa.c", 440); return 0; } } else { ERR_put_error(20, 177, 67, "ssl/ssl_rsa.c", 436); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source