// // SSL_dup_CA_list from 0x791a50 to 0x791b08 (184 bytes) // // 1 xrefs: // > @ 0x5b36c // // 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_dup_CA_list(int a1) { int v2; // r7 int v3; // r4 int v4; // r0 int v5; // r6 v2 = OPENSSL_sk_new_null(); if ( v2 ) { v3 = 0; while ( v3 < OPENSSL_sk_num(a1) ) { v4 = OPENSSL_sk_value(a1, v3++); v5 = X509_NAME_dup(v4); if ( !v5 || !OPENSSL_sk_push(v2, v5) ) { OPENSSL_sk_pop_free(v2, X509_NAME_free); X509_NAME_free(v5); return 0; } } } else { ERR_put_error(20, 408, 65, "ssl/ssl_cert.c", 475); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source