Lines Matching defs:conf
49 static int reply_command(CONF *conf, const char *section, const char *engine,
55 static TS_RESP *create_response(CONF *conf, const char *section, const char *engine,
160 CONF *conf = NULL;
308 if ((conf = load_config_file(configfile)) == NULL)
310 if (configfile != default_config_file && !app_load_modules(conf))
327 if ((conf == NULL) || (token_in != 0))
330 ret = !reply_command(conf, section, engine, queryfile,
347 NCONF_free(conf);
368 CONF *conf = app_load_config(configfile);
370 if (conf != NULL) {
374 p = NCONF_get_string(conf, NULL, ENV_OID_FILE);
385 if (!add_oid_section(conf))
388 return conf;
584 static int reply_command(CONF *conf, const char *section, const char *engine,
607 response = create_response(conf, section, engine, queryfile,
692 static TS_RESP *create_response(CONF *conf, const char *section, const char *engine,
704 if ((section = TS_CONF_get_tsa_section(conf, section)) == NULL)
708 if (!TS_CONF_set_serial(conf, section, serial_cb, resp_ctx))
711 if (!TS_CONF_set_crypto_device(conf, section, engine))
714 if (!TS_CONF_set_signer_cert(conf, section, signer, resp_ctx))
716 if (!TS_CONF_set_certs(conf, section, chain, resp_ctx))
718 if (!TS_CONF_set_signer_key(conf, section, inkey, passin, resp_ctx))
724 } else if (!TS_CONF_set_signer_digest(conf, section, NULL, resp_ctx)) {
728 if (!TS_CONF_set_ess_cert_id_digest(conf, section, resp_ctx))
730 if (!TS_CONF_set_def_policy(conf, section, policy, resp_ctx))
732 if (!TS_CONF_set_policies(conf, section, resp_ctx))
734 if (!TS_CONF_set_digests(conf, section, resp_ctx))
736 if (!TS_CONF_set_accuracy(conf, section, resp_ctx))
738 if (!TS_CONF_set_clock_precision_digits(conf, section, resp_ctx))
740 if (!TS_CONF_set_ordering(conf, section, resp_ctx))
742 if (!TS_CONF_set_tsa_name(conf, section, resp_ctx))
744 if (!TS_CONF_set_ess_cert_id_chain(conf, section, resp_ctx))