Lines Matching refs:conf
22 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid,
34 static X509_EXTENSION *X509V3_EXT_nconf_int(CONF *conf, X509V3_CTX *ctx, in X509V3_EXT_nconf_int() argument
45 ret = do_ext_nconf(conf, ctx, OBJ_sn2nid(name), crit, value); in X509V3_EXT_nconf_int()
58 X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, const char *name, in X509V3_EXT_nconf() argument
61 return X509V3_EXT_nconf_int(conf, ctx, NULL, name, value); in X509V3_EXT_nconf()
64 X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid, in X509V3_EXT_nconf_nid() argument
74 return do_ext_nconf(conf, ctx, ext_nid, crit, value); in X509V3_EXT_nconf_nid()
79 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, in do_ext_nconf() argument
98 nval = NCONF_get_section(conf, value + 1); in do_ext_nconf()
313 int X509V3_EXT_add_nconf_sk(CONF *conf, X509V3_CTX *ctx, const char *section, in X509V3_EXT_add_nconf_sk() argument
321 if ((nval = NCONF_get_section(conf, section)) == NULL) in X509V3_EXT_add_nconf_sk()
339 if ((ext = X509V3_EXT_nconf_int(conf, ctx, val->section, in X509V3_EXT_add_nconf_sk()
359 int X509V3_EXT_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, in X509V3_EXT_add_nconf() argument
365 return X509V3_EXT_add_nconf_sk(conf, ctx, section, sk); in X509V3_EXT_add_nconf()
372 int X509V3_EXT_CRL_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, in X509V3_EXT_CRL_add_nconf() argument
378 return X509V3_EXT_add_nconf_sk(conf, ctx, section, sk); in X509V3_EXT_CRL_add_nconf()
385 int X509V3_EXT_REQ_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, in X509V3_EXT_REQ_add_nconf() argument
389 int ret = X509V3_EXT_add_nconf_sk(conf, ctx, section, &exts); in X509V3_EXT_REQ_add_nconf()
454 void X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf) in X509V3_set_nconf() argument
461 ctx->db = conf; in X509V3_set_nconf()
498 X509_EXTENSION *X509V3_EXT_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, in X509V3_EXT_conf() argument
506 CONF_set_nconf(ctmp, conf); in X509V3_EXT_conf()
513 X509_EXTENSION *X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf, in X509V3_EXT_conf_nid() argument
521 CONF_set_nconf(ctmp, conf); in X509V3_EXT_conf_nid()
555 int X509V3_EXT_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, in X509V3_EXT_add_conf() argument
563 CONF_set_nconf(ctmp, conf); in X509V3_EXT_add_conf()
572 int X509V3_EXT_CRL_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, in X509V3_EXT_CRL_add_conf() argument
580 CONF_set_nconf(ctmp, conf); in X509V3_EXT_CRL_add_conf()
589 int X509V3_EXT_REQ_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, in X509V3_EXT_REQ_add_conf() argument
597 CONF_set_nconf(ctmp, conf); in X509V3_EXT_REQ_add_conf()