1
0
Fork 0
mirror of https://github.com/kakwa/uts-server synced 2025-07-04 20:47:09 +02:00

remove the awkward default_tsa parameter

default_tsa pointing to a specific tsa section doesn't make sense.
removing it.
This commit is contained in:
kakwa 2016-09-12 22:21:22 +02:00
parent 8cb54a47c2
commit 060e7315d0
6 changed files with 8 additions and 27 deletions

View file

@ -120,11 +120,11 @@ TS_RESP_CTX *create_tsctx(rfc3161_context *ct, CONF *conf, const char *section,
TS_RESP_CTX *resp_ctx = NULL;
// recover the section defining the default tsa
if ((section = TS_CONF_get_tsa_section(conf, section)) == NULL) {
uts_logger(ct, LOG_ERR, "failed to get or use '%s' in section [ %s ]",
"default_tsa", "tsa");
goto end;
}
//if ((section = TS_CONF_get_tsa_section(conf, section)) == NULL) {
// uts_logger(ct, LOG_ERR, "failed to get or use '%s' in section [ %s ]",
// "default_tsa", "tsa");
// goto end;
//}
if ((resp_ctx = TS_RESP_CTX_new()) == NULL) {
uts_logger(ct, LOG_ERR, "failed to initialize tsa context");
goto end;