Lines Matching refs:ext_ctx
804 X509V3_CTX ext_ctx; in req_main() local
847 X509V3_set_ctx(&ext_ctx, CAcert != NULL ? CAcert : new_x509, in req_main()
851 if (!X509V3_set_issuer_pkey(&ext_ctx, issuer_key)) in req_main()
857 X509V3_set_nconf(&ext_ctx, req_conf); in req_main()
861 && !X509V3_EXT_add_nconf(req_conf, &ext_ctx, extsect, new_x509)) { in req_main()
867 && !X509V3_EXT_add_nconf(addext_conf, &ext_ctx, "default", in req_main()
883 &ext_ctx); in req_main()
887 X509V3_CTX ext_ctx; in req_main() local
894 X509V3_set_ctx(&ext_ctx, NULL, NULL, req, NULL, X509V3_CTX_REPLACE); in req_main()
895 X509V3_set_nconf(&ext_ctx, req_conf); in req_main()
899 && !X509V3_EXT_REQ_add_nconf(req_conf, &ext_ctx, extsect, req)) { in req_main()
905 && !X509V3_EXT_REQ_add_nconf(addext_conf, &ext_ctx, "default", in req_main()