Lines Matching refs:ext_ctx
793 X509V3_CTX ext_ctx; in req_main() local
835 X509V3_set_ctx(&ext_ctx, CAcert != NULL ? CAcert : new_x509, in req_main()
839 if (!X509V3_set_issuer_pkey(&ext_ctx, issuer_key)) in req_main()
845 X509V3_set_nconf(&ext_ctx, req_conf); in req_main()
849 && !X509V3_EXT_add_nconf(req_conf, &ext_ctx, extsect, new_x509)) { in req_main()
855 && !X509V3_EXT_add_nconf(addext_conf, &ext_ctx, "default", in req_main()
870 i = do_X509_sign(new_x509, issuer_key, digest, sigopts, &ext_ctx); in req_main()
874 X509V3_CTX ext_ctx; in req_main() local
881 X509V3_set_ctx(&ext_ctx, NULL, NULL, req, NULL, X509V3_CTX_REPLACE); in req_main()
882 X509V3_set_nconf(&ext_ctx, req_conf); in req_main()
886 && !X509V3_EXT_REQ_add_nconf(req_conf, &ext_ctx, extsect, req)) { in req_main()
892 && !X509V3_EXT_REQ_add_nconf(addext_conf, &ext_ctx, "default", in req_main()