Lines Matching refs: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; in ts_main() local
312 if ((conf = load_config_file(configfile)) == NULL) in ts_main()
314 if (configfile != default_config_file && !app_load_modules(conf)) in ts_main()
331 if ((conf == NULL) || (token_in != 0)) in ts_main()
334 ret = !reply_command(conf, section, engine, queryfile, in ts_main()
351 NCONF_free(conf); in ts_main()
372 CONF *conf = app_load_config(configfile); in load_config_file() local
374 if (conf != NULL) { in load_config_file()
378 p = app_conf_try_string(conf, NULL, ENV_OID_FILE); in load_config_file()
388 if (!add_oid_section(conf)) in load_config_file()
391 return conf; in load_config_file()
590 static int reply_command(CONF *conf, const char *section, const char *engine, in reply_command() argument
613 response = create_response(conf, section, engine, queryfile, in reply_command()
698 static TS_RESP *create_response(CONF *conf, const char *section, const char *engine, in create_response() argument
710 if ((section = TS_CONF_get_tsa_section(conf, section)) == NULL) in create_response()
714 if (!TS_CONF_set_serial(conf, section, serial_cb, resp_ctx)) in create_response()
717 if (!TS_CONF_set_crypto_device(conf, section, engine)) in create_response()
720 if (!TS_CONF_set_signer_cert(conf, section, signer, resp_ctx)) in create_response()
722 if (!TS_CONF_set_certs(conf, section, chain, resp_ctx)) in create_response()
724 if (!TS_CONF_set_signer_key(conf, section, inkey, passin, resp_ctx)) in create_response()
730 } else if (!TS_CONF_set_signer_digest(conf, section, NULL, resp_ctx)) { in create_response()
734 if (!TS_CONF_set_ess_cert_id_digest(conf, section, resp_ctx)) in create_response()
736 if (!TS_CONF_set_def_policy(conf, section, policy, resp_ctx)) in create_response()
738 if (!TS_CONF_set_policies(conf, section, resp_ctx)) in create_response()
740 if (!TS_CONF_set_digests(conf, section, resp_ctx)) in create_response()
742 if (!TS_CONF_set_accuracy(conf, section, resp_ctx)) in create_response()
744 if (!TS_CONF_set_clock_precision_digits(conf, section, resp_ctx)) in create_response()
746 if (!TS_CONF_set_ordering(conf, section, resp_ctx)) in create_response()
748 if (!TS_CONF_set_tsa_name(conf, section, resp_ctx)) in create_response()
750 if (!TS_CONF_set_ess_cert_id_chain(conf, section, resp_ctx)) in create_response()