Searched refs:ext_ctx (Results 1 – 4 of 4) sorted by relevance
| /netbsd/src/crypto/external/bsd/openssl/dist/apps/ |
| D | req.c | 803 X509V3_CTX ext_ctx; in req_main() local 841 X509V3_set_ctx(&ext_ctx, CAcert != NULL ? CAcert : new_x509, in req_main() 845 if (!X509V3_set_issuer_pkey(&ext_ctx, issuer_key)) in req_main() 853 X509V3_set_nconf(&ext_ctx, req_conf); in req_main() 857 && !X509V3_EXT_add_nconf(req_conf, &ext_ctx, extensions, in req_main() 864 && !X509V3_EXT_add_nconf(addext_conf, &ext_ctx, "default", in req_main() 879 i = do_X509_sign(new_x509, issuer_key, digest, sigopts, &ext_ctx); in req_main() 883 X509V3_CTX ext_ctx; in req_main() local 886 X509V3_set_ctx(&ext_ctx, NULL, NULL, req, NULL, 0); in req_main() 887 X509V3_set_nconf(&ext_ctx, req_conf); in req_main() [all …]
|
| D | x509.c | 260 X509V3_CTX ext_ctx; in x509_main() local 829 X509V3_set_ctx(&ext_ctx, issuer_cert, x, NULL, NULL, X509V3_CTX_REPLACE); in x509_main() 832 if (!X509V3_set_issuer_pkey(&ext_ctx, privkey)) in x509_main() 836 X509V3_set_nconf(&ext_ctx, extconf); in x509_main() 837 if (!X509V3_EXT_add_nconf(extconf, &ext_ctx, extsect, x)) { in x509_main() 864 X509V3_set_nconf(&ext_ctx, extconf); in x509_main() 865 if (!X509V3_EXT_REQ_add_nconf(extconf, &ext_ctx, extsect, rq)) { in x509_main() 888 if (!do_X509_sign(x, privkey, digest, sigopts, &ext_ctx)) in x509_main() 900 if (!do_X509_sign(x, CAkey, digest, sigopts, &ext_ctx)) in x509_main()
|
| D | ca.c | 1516 X509V3_CTX ext_ctx; in do_body() local 1733 X509V3_set_ctx(&ext_ctx, selfsign ? ret : x509, in do_body() 1743 X509V3_set_nconf(&ext_ctx, extfile_conf); in do_body() 1746 if (!X509V3_EXT_add_nconf(extfile_conf, &ext_ctx, ext_sect, ret)) { in do_body() 1757 X509V3_set_nconf(&ext_ctx, lconf); in do_body() 1759 if (!X509V3_EXT_add_nconf(lconf, &ext_ctx, ext_sect, ret)) { in do_body() 1936 if (!do_X509_sign(ret, pkey, dgst, sigopts, &ext_ctx)) in do_body()
|
| D | cmp.c | 1523 X509V3_CTX ext_ctx; in setup_request_ctx() local 1673 X509V3_set_ctx(&ext_ctx, NULL, NULL, csr, NULL, X509V3_CTX_REPLACE); in setup_request_ctx() 1674 X509V3_set_nconf(&ext_ctx, conf); in setup_request_ctx() 1676 && !X509V3_EXT_add_nconf_sk(conf, &ext_ctx, opt_reqexts, &exts)) { in setup_request_ctx() 1682 && !X509V3_EXT_add_nconf_sk(conf, &ext_ctx, opt_policies, &exts)) { in setup_request_ctx()
|