// // OCSP_request_sign from 0xa32748 to 0xa32878 (304 bytes) // // 1 xrefs: // > @ 0x7e28c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:08:06 +0000 // int __fastcall OCSP_request_sign(int a1, int a2, int a3, int a4, int a5, char a6) { int subject_name; // r0 _DWORD *v11; // r0 int v13; // r5 int v14; // r0 subject_name = X509_get_subject_name(a2); if ( !OCSP_request_set1_name(a1, subject_name) ) goto LABEL_8; v11 = OCSP_SIGNATURE_new(); *(_DWORD *)(a1 + 16) = v11; if ( !v11 ) { LABEL_6: OCSP_SIGNATURE_free(v11); *(_DWORD *)(a1 + 16) = 0; return 0; } if ( a3 ) { if ( !X509_check_private_key(a2, a3) ) { ERR_put_error(39, 110, 110, (int)"crypto/ocsp/ocsp_cl.c", 112); v11 = *(_DWORD **)(a1 + 16); goto LABEL_6; } if ( !ASN1_item_sign(OCSP_REQINFO_it, *(_DWORD *)(a1 + 16), 0, *(_DWORD *)(*(_DWORD *)(a1 + 16) + 8), a1, a3, a4) ) { LABEL_8: v11 = *(_DWORD **)(a1 + 16); goto LABEL_6; } } v13 = a6 & 1; if ( (a6 & 1) == 0 ) { if ( !OCSP_request_add1_cert(a1, a2) ) goto LABEL_8; while ( v13 < OPENSSL_sk_num(a5) ) { v14 = OPENSSL_sk_value(a5, v13++); if ( !OCSP_request_add1_cert(a1, v14) ) goto LABEL_8; } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source