diff --git a/src/lib/rfc3161.c b/src/lib/rfc3161.c index fb71052..abb9c75 100644 --- a/src/lib/rfc3161.c +++ b/src/lib/rfc3161.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include @@ -211,6 +212,11 @@ TS_RESP_CTX *create_tsctx(rfc3161_context *ct, CONF *conf, const char *section, unsigned long err_code; unsigned long err_code_prev = 0; TS_RESP_CTX *resp_ctx = NULL; + + SSL_load_error_strings(); + ERR_load_BIO_strings(); + SSL_library_init(); + 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");