// // X509V3_EXT_nconf from 0xdfaecc to 0xdfb060 (404 bytes) // // 3 xrefs: // > X509V3_EXT_add_nconf_sk @ 0xdfb3a4 // > X509V3_EXT_conf @ 0xdfb674 // > @ 0x65148 // // 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 // __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, aCritical_1, 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(0xDFA978); } LABEL_8: v10 = (unsigned int)OBJ_sn2nid(a3); v11 = sub_DFAB3C(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