Lines Matching refs:errh
156 log_error_st *errh; member
179 static void elog(log_error_st * const errh, in elog() argument
184 log_error(errh, file, line, "GnuTLS: %s: (%s) %s", in elog()
191 static void elogf(log_error_st * const errh, in elogf() argument
200 elog(errh, file, line, rc, msg); in elogf()
217 mod_gnutls_load_file (const char * const fn, gnutls_datum_t * const d, log_error_st *errh) in mod_gnutls_load_file() argument
222 elogf(errh, __FILE__, __LINE__, rc, "%s() %s", __func__, fn); in mod_gnutls_load_file()
226 char *data = fdevent_load_file(fn, &dlen, errh, gnutls_malloc, gnutls_free); in mod_gnutls_load_file()
294 elog(srv->errh, __FILE__, __LINE__, rc, in mod_gnutls_session_ticket_key_init()
503 mod_gnutls_load_config_crts (const char *fn, log_error_st *errh) in mod_gnutls_load_config_crts() argument
509 int rc = mod_gnutls_load_file(fn, &f, errh); in mod_gnutls_load_config_crts()
532 elogf(errh, __FILE__, __LINE__, rc, in mod_gnutls_load_config_crts()
539 log_error(errh, __FILE__, __LINE__, in mod_gnutls_load_config_crts()
548 mod_gnutls_load_config_crls (const char *fn, log_error_st *errh) in mod_gnutls_load_config_crls() argument
554 int rc = mod_gnutls_load_file(fn, &f, errh); in mod_gnutls_load_config_crls()
567 elogf(errh, __FILE__, __LINE__, rc, in mod_gnutls_load_config_crls()
578 mod_gnutls_load_config_pkey (const char *fn, log_error_st *errh) in mod_gnutls_load_config_pkey() argument
584 int rc = mod_gnutls_load_file(fn, &f, errh); in mod_gnutls_load_config_pkey()
602 elogf(errh, __FILE__, __LINE__, rc, in mod_gnutls_load_config_pkey()
793 log_error(hctx->r->conf.errh, __FILE__, __LINE__, in mod_gnutls_verify_set_tlist()
803 elog(hctx->r->conf.errh, __FILE__, __LINE__, rc, in mod_gnutls_verify_set_tlist()
811 elog(hctx->r->conf.errh, __FILE__, __LINE__, rc, in mod_gnutls_verify_set_tlist()
824 elog(hctx->r->conf.errh, __FILE__, __LINE__, rc, in mod_gnutls_verify_set_tlist()
919 mod_gnutls_ocsp_next_update (plugin_cert *pc, log_error_st *errh) in mod_gnutls_ocsp_next_update() argument
922 int rc = mod_gnutls_load_file(pc->ssl_stapling_file->ptr, &f, errh); in mod_gnutls_ocsp_next_update()
949 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_expire_stapling_file()
965 time_t nextupd = mod_gnutls_ocsp_next_update(pc, srv->errh); in mod_gnutls_reload_stapling_file()
1109 mod_gnutls_construct_crt_chain (plugin_cert *pc, gnutls_datum_t *d, log_error_st *errh) in mod_gnutls_construct_crt_chain() argument
1161 elog(errh, __FILE__, __LINE__, rc, "gnutls_certificate_set_key()"); in mod_gnutls_construct_crt_chain()
1196 elogf(srv->errh, __FILE__, __LINE__, rc, in network_gnutls_load_pemfile()
1211 gnutls_datum_t *d = mod_gnutls_load_config_crts(pemfile->ptr, srv->errh); in network_gnutls_load_pemfile()
1218 gnutls_privkey_t pkey = mod_gnutls_load_config_pkey(privkey->ptr,srv->errh); in network_gnutls_load_pemfile()
1236 int rc = mod_gnutls_construct_crt_chain(pc, d, srv->errh); in network_gnutls_load_pemfile()
1251 log_error(srv->errh, __FILE__, __LINE__, in network_gnutls_load_pemfile()
1274 log_error_st * const errh = hctx->r->conf.errh; in mod_gnutls_acme_tls_1() local
1308 elogf(errh, __FILE__, __LINE__, rc, in mod_gnutls_acme_tls_1()
1327 gnutls_datum_t *d = mod_gnutls_load_config_crts(b->ptr, errh); in mod_gnutls_acme_tls_1()
1337 gnutls_privkey_t pkey = mod_gnutls_load_config_pkey(b->ptr, errh); in mod_gnutls_acme_tls_1()
1349 rc = mod_gnutls_construct_crt_chain(&pc, d, errh); in mod_gnutls_acme_tls_1()
1365 elogf(hctx->r->conf.errh, __FILE__, __LINE__, rc, in mod_gnutls_acme_tls_1()
1384 log_error(hctx->errh, __FILE__, __LINE__, in mod_gnutls_alpn_h2_policy()
1391 log_error(hctx->errh, __FILE__, __LINE__, in mod_gnutls_alpn_h2_policy()
1475 log_error(r->conf.errh, __FILE__, __LINE__, in mod_gnutls_SNI()
1550 log_error_st *errh = hctx->r->conf.errh; in mod_gnutls_client_hello_hook() local
1551 elog(errh, __FILE__, __LINE__, rc, "gnutls_ext_raw_parse()"); in mod_gnutls_client_hello_hook()
1572 log_error_st *errh = hctx->r->conf.errh; in mod_gnutls_client_hello_hook() local
1573 elog(errh, __FILE__, __LINE__, rc, "gnutls_alpn_set_protocols()"); in mod_gnutls_client_hello_hook()
1591 elog(hctx->r->conf.errh, __FILE__, __LINE__, rc, in mod_gnutls_client_hello_hook()
1601 hctx->r->conf.errh); in mod_gnutls_client_hello_hook()
1634 elogf(hctx->r->conf.errh, __FILE__, __LINE__, rc, in mod_gnutls_client_hello_hook()
1697 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_ssl_conf_cmd()
1740 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_ssl_conf_cmd()
1755 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_ssl_conf_cmd()
1852 log_error(srv->errh, __FILE__, __LINE__, in network_init_ssl()
1858 elogf(srv->errh, __FILE__, __LINE__, rc, in network_init_ssl()
1925 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_set_defaults_sockets()
1941 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_set_defaults_sockets()
2015 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_set_defaults_sockets()
2028 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_set_defaults_sockets()
2161 mod_gnutls_load_config_crts(cpv->v.b->ptr, srv->errh); in SETDEFAULTS_FUNC()
2167 log_error(srv->errh, __FILE__, __LINE__, in SETDEFAULTS_FUNC()
2179 mod_gnutls_load_config_crls(cpv->v.b->ptr, srv->errh); in SETDEFAULTS_FUNC()
2185 log_error(srv->errh, __FILE__, __LINE__, in SETDEFAULTS_FUNC()
2199 log_error(srv->errh, __FILE__, __LINE__, in SETDEFAULTS_FUNC()
2289 elog(hctx->r->conf.errh, __FILE__, __LINE__, wr, __func__); in mod_gnutls_write_err()
2291 elog(hctx->r->conf.errh, __FILE__, __LINE__, wr, __func__); in mod_gnutls_write_err()
2347 elogf(hctx->r->conf.errh, __FILE__, __LINE__, rc, in mod_gnutls_read_err()
2360 elog(hctx->r->conf.errh, __FILE__, __LINE__, rc, __func__); in mod_gnutls_read_err()
2401 log_error_st * const errh = hctx->errh; in connection_write_cq_ssl() local
2409 if (0 != chunkqueue_peek_data(cq, &data, &data_len, errh)) return -1; in connection_write_cq_ssl()
2484 if (-1 == c->file.fd && 0 != chunkqueue_open_file_chunk(cq, hctx->errh)) in connection_write_cq_ssl_ktls()
2588 log_error_st *errh = plugin_data_singleton->srv->errh; in mod_gnutls_debug_cb() local
2589 log_error(errh, __FILE__, __LINE__, "GnuTLS: %s", str); in mod_gnutls_debug_cb()
2604 hctx->errh = r->conf.errh; in CONNECTION_FUNC()
2614 elog(r->conf.errh, __FILE__, __LINE__, rc, "gnutls_init()"); in CONNECTION_FUNC()
2620 elog(r->conf.errh, __FILE__, __LINE__, rc, "gnutls_priority_set()"); in CONNECTION_FUNC()
2655 elog(r->conf.errh, __FILE__, __LINE__, rc, in CONNECTION_FUNC()
2710 elog(hctx->r->conf.errh, __FILE__, __LINE__, rc, in mod_gnutls_close_notify()
2791 elog(r->conf.errh, __FILE__, __LINE__, rc, in https_add_ssl_client_subject()
3120 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_ssl_conf_ciphersuites()
3178 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_ssl_conf_ciphersuites()
3193 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_ssl_conf_ciphersuites()
3209 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_ssl_conf_ciphersuites()
3221 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_ssl_conf_ciphersuites()
3228 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_ssl_conf_ciphersuites()
3334 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_ssl_conf_ciphersuites()
3367 rc = mod_gnutls_load_file(dhparameters->ptr, &f, srv->errh); in mod_gnutls_ssl_conf_dhparameters()
3372 elogf(srv->errh, __FILE__, __LINE__, rc, in mod_gnutls_ssl_conf_dhparameters()
3386 elogf(srv->errh, __FILE__, __LINE__, rc, in mod_gnutls_ssl_conf_dhparameters()
3435 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_ssl_conf_curves()
3467 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_ssl_conf_proto_val()
3471 log_error(srv->errh, __FILE__, __LINE__, in mod_gnutls_ssl_conf_proto_val()