// // X509V3_EXT_nconf from 0x107920c to 0x10793a0 (404 bytes) // // 3 xrefs: // > X509V3_EXT_add_nconf_sk @ 0x10796e4 // > X509V3_EXT_conf @ 0x10799b4 // > @ 0x895a8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:17:05 +0000 // __int64 *__fastcall X509V3_EXT_nconf(__int64 a1, __int64 a2, __int64 a3, char *a4) { char *v5; // x19 size_t v8; // x20 int v9; // w23 unsigned int v10; // w0 __int64 *v11; // x20 unsigned __int8 *v13; // x19 v5 = a4; v8 = strlen(a4); if ( v8 <= 8 ) { v9 = 0; } else { if ( strncmp(v5, "critical,", 9u) ) { v9 = 0; goto LABEL_12; } for ( v5 += 9; isspace((unsigned __int8)*v5); ++v5 ) ; v9 = 1; v8 = strlen(v5); } if ( v8 <= 3 ) goto LABEL_8; LABEL_12: if ( !strncmp(v5, "DER:", 4u) ) { v13 = (unsigned __int8 *)(v5 + 4); goto LABEL_15; } if ( v8 != 4 && !strncmp(v5, "ASN1:", 5u) ) { v13 = (unsigned __int8 *)(v5 + 5); LABEL_15: while ( isspace(*v13) ) ++v13; JUMPOUT(0x1078CB8); } LABEL_8: v10 = (unsigned int)OBJ_sn2nid(a3); v11 = sub_1078E7C(a1, a2, v10, v9, v5); if ( !v11 ) { ERR_put_error(34, 152, 128, (__int64)"crypto/x509v3/v3_conf.c", 47); ERR_add_error_data(4, "name=", a3, ", value=", v5); } return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source