X509V3_set_ctx
X509V3_set_ctx(&crlctx, x509, NULL, NULL, crl, 0);
X509V3_set_ctx(&ext_ctx, selfsign ? ret : x509,
X509V3_set_ctx(&ext_ctx, NULL, NULL, csr, NULL, X509V3_CTX_REPLACE);
X509V3_set_ctx(&ext_ctx, CAcert != NULL ? CAcert : new_x509,
X509V3_set_ctx(&ext_ctx, NULL, NULL, req, NULL, X509V3_CTX_REPLACE);
X509V3_set_ctx(&ext_ctx, issuer_cert, x, NULL, NULL, X509V3_CTX_REPLACE);
X509V3_set_ctx(ctx, NULL, NULL, NULL, NULL, X509V3_CTX_TEST)
void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject,