Lines Matching refs:errh
199 log_error_st *errh; member
221 static void elog(log_error_st * const errh, in elog() argument
228 log_error(errh, file, line, "NSS: %s: (%s) %s", in elog()
235 static void elogf(log_error_st * const errh, in elogf() argument
244 elog(errh, file, line, msg); in elogf()
249 mod_nss_io_ctor (int fd, PRFileDesc *model, log_error_st *errh) in mod_nss_io_ctor() argument
269 elog(errh, __FILE__, __LINE__, "PR_ImportTCPSocket()"); in mod_nss_io_ctor()
276 elog(errh, __FILE__, __LINE__, "PR_CreateSocketPollFd()"); in mod_nss_io_ctor()
289 elog(errh, __FILE__, __LINE__, "PR_SocketSetSocketOption()"); in mod_nss_io_ctor()
296 elog(errh, __FILE__, __LINE__, "SSL_ImportFD()"); in mod_nss_io_ctor()
333 mod_nss_load_file (const char * const fn, SECItem * const d, log_error_st *errh) in mod_nss_load_file() argument
336 char *data = fdevent_load_file(fn, &dlen, errh, PORT_Alloc, PORT_Free); in mod_nss_load_file()
455 mod_nss_load_pem_file (const char *fn, log_error_st *errh) in mod_nss_load_pem_file() argument
460 int rc = mod_nss_load_file(fn, &f, errh); in mod_nss_load_pem_file()
543 elogf(errh, __FILE__, __LINE__, "error loading %s", fn); in mod_nss_load_pem_file()
554 mod_nss_load_pem_crts (const char *fn, log_error_st *errh, CERTCertificateList **pchain) in mod_nss_load_pem_crts() argument
556 *pchain = mod_nss_load_pem_file(fn, errh); in mod_nss_load_pem_crts()
566 log_error(errh, __FILE__, __LINE__, in mod_nss_load_pem_crts()
601 mod_nss_load_config_crts (const char *fn, log_error_st *errh) in mod_nss_load_config_crts() argument
603 CERTCertificateList *crts = mod_nss_load_pem_file(fn, errh); in mod_nss_load_config_crts()
612 elogf(errh, __FILE__, __LINE__, "CERT_ImportCAChainTrusted() %s", fn); in mod_nss_load_config_crts()
623 mod_nss_load_config_dncrts (const char *fn, log_error_st *errh) in mod_nss_load_config_dncrts() argument
625 CERTCertificateList *crts = mod_nss_load_pem_file(fn, errh); in mod_nss_load_config_dncrts()
647 mod_nss_load_config_crls (const char *fn, log_error_st *errh) in mod_nss_load_config_crls() argument
653 int rc = mod_nss_load_file(fn, &f, errh); in mod_nss_load_config_crls()
714 elogf(errh, __FILE__, __LINE__, "error loading %s", fn); in mod_nss_load_config_crls()
741 mod_nss_load_config_pkey (const char *fn, CERTCertificate *cert, log_error_st *errh) in mod_nss_load_config_pkey() argument
751 int rc = mod_nss_load_file(fn, &f, errh); in mod_nss_load_config_pkey()
820 elogf(errh, __FILE__, __LINE__, in mod_nss_load_config_pkey()
1051 log_error(srv->errh, __FILE__, __LINE__, in mod_nss_expire_stapling_file()
1062 int rc = mod_nss_load_file(pc->ssl_stapling_file->ptr, &f, srv->errh); in mod_nss_reload_stapling_file()
1172 mod_nss_load_pem_crts(pemfile->ptr, srv->errh, &ssl_pemfile_chain); in network_nss_load_pemfile()
1177 mod_nss_load_config_pkey(privkey->ptr, ssl_pemfile_x509, srv->errh); in network_nss_load_pemfile()
1209 log_error(srv->errh, __FILE__, __LINE__, in network_nss_load_pemfile()
1229 log_error_st * const errh = hctx->r->conf.errh; in mod_nss_acme_tls_1() local
1255 mod_nss_load_pem_crts(b->ptr, errh, &ssl_pemfile_chain); in mod_nss_acme_tls_1()
1263 mod_nss_load_config_pkey(b->ptr, ssl_pemfile_x509, errh); in mod_nss_acme_tls_1()
1313 log_error(hctx->errh, __FILE__, __LINE__, in mod_nss_alpn_h2_policy()
1326 log_error(hctx->errh, __FILE__, __LINE__, in mod_nss_alpn_h2_policy()
1417 log_error(r->conf.errh, __FILE__, __LINE__, in mod_nss_SNI()
1449 log_error(hctx->r->conf.errh, __FILE__, __LINE__, in mod_nss_SNI()
1471 elogf(r->conf.errh, __FILE__, __LINE__, in mod_nss_SNI()
1480 elog(r->conf.errh, __FILE__, __LINE__, "SSL_AuthCertificateHook"); in mod_nss_SNI()
1487 log_error(hctx->r->conf.errh, __FILE__, __LINE__, in mod_nss_SNI()
1492 elog(r->conf.errh, __FILE__, __LINE__, "SSL_SetTrustAnchors"); in mod_nss_SNI()
1549 log_error(srv->errh, __FILE__, __LINE__, in mod_nss_ssl_conf_cmd()
1594 log_error(srv->errh, __FILE__, __LINE__, in mod_nss_ssl_conf_cmd()
1605 log_error(srv->errh, __FILE__, __LINE__, in mod_nss_ssl_conf_cmd()
1661 elog(srv->errh, __FILE__, __LINE__, "SSL_SECURITY"); in network_init_ssl()
1666 elog(srv->errh, __FILE__, __LINE__, "SSL_VersionRangeSet()"); in network_init_ssl()
1672 elog(srv->errh, __FILE__, __LINE__, "SSL_ENABLE_SSL2"); in network_init_ssl()
1678 elog(srv->errh, __FILE__, __LINE__, "SSL_ENABLE_SSL3"); in network_init_ssl()
1684 elog(srv->errh, __FILE__, __LINE__, "!SSL_ENABLE_SESSION_TICKETS"); in network_init_ssl()
1689 elog(srv->errh, __FILE__, __LINE__, "SSL_ENABLE_DEFLATE"); in network_init_ssl()
1702 elogf(srv->errh, __FILE__, __LINE__, in network_init_ssl()
1770 log_error(srv->errh, __FILE__, __LINE__, in mod_nss_set_defaults_sockets()
1786 log_error(srv->errh, __FILE__, __LINE__, in mod_nss_set_defaults_sockets()
1801 log_error(srv->errh, __FILE__, __LINE__, "NSS: " in mod_nss_set_defaults_sockets()
1859 log_error(srv->errh, __FILE__, __LINE__, in mod_nss_set_defaults_sockets()
1872 log_error(srv->errh, __FILE__, __LINE__, in mod_nss_set_defaults_sockets()
1993 mod_nss_load_config_crts(cpv->v.b->ptr, srv->errh); in SETDEFAULTS_FUNC()
1999 log_error(srv->errh, __FILE__, __LINE__, in SETDEFAULTS_FUNC()
2011 mod_nss_load_config_dncrts(cpv->v.b->ptr, srv->errh); in SETDEFAULTS_FUNC()
2017 log_error(srv->errh, __FILE__, __LINE__, in SETDEFAULTS_FUNC()
2029 mod_nss_load_config_crls(cpv->v.b->ptr, srv->errh); in SETDEFAULTS_FUNC()
2035 log_error(srv->errh, __FILE__, __LINE__, in SETDEFAULTS_FUNC()
2049 log_error(srv->errh, __FILE__, __LINE__, in SETDEFAULTS_FUNC()
2136 elog(hctx->r->conf.errh, __FILE__, __LINE__, __func__); in mod_nss_write_err()
2164 elog(hctx->errh, __FILE__, __LINE__, __func__); in mod_nss_read_err()
2179 log_error_st * const errh = hctx->errh; in connection_write_cq_ssl() local
2195 if (0 != chunkqueue_peek_data(cq, &data, &data_len, errh)) return -1; in connection_write_cq_ssl()
2307 hctx->errh = r->conf.errh; in CONNECTION_FUNC()
2319 hctx->ssl = mod_nss_io_ctor(con->fd, s->model, r->conf.errh); in CONNECTION_FUNC()
2327 elog(r->conf.errh, __FILE__, __LINE__, "SSL_ResetHandshake()"); in CONNECTION_FUNC()
2332 elog(r->conf.errh, __FILE__, __LINE__, "SSL_HandshakeCallback()"); in CONNECTION_FUNC()
2337 elog(r->conf.errh, __FILE__, __LINE__, "SSL_SNISocketConfigHook()"); in CONNECTION_FUNC()
2342 elog(r->conf.errh, __FILE__, __LINE__, "SSL_SetNextProtoCallback()"); in CONNECTION_FUNC()
2349 elog(r->conf.errh, __FILE__, __LINE__, "SSL_AuthCertificateHook()"); in CONNECTION_FUNC()
2356 log_error(hctx->r->conf.errh, __FILE__, __LINE__, in CONNECTION_FUNC()
2365 elog(r->conf.errh, __FILE__, __LINE__, "SSL_SetTrustAnchors()"); in CONNECTION_FUNC()
2429 elog(hctx->r->conf.errh, __FILE__, __LINE__, "PR_Shutdown()"); in mod_nss_close_notify()
2721 log_error(srv->errh, __FILE__, __LINE__, in mod_nss_ssl_conf_curves()
2752 log_error(srv->errh, __FILE__, __LINE__, in mod_nss_ssl_conf_proto_val()
2756 log_error(srv->errh, __FILE__, __LINE__, in mod_nss_ssl_conf_proto_val()
2780 #define ap_log_error(APLOG_MARK, APLOG_INFO, rc, errh, ...) \ argument
2781 log_error(errh, __FILE__, __LINE__, __VA_ARGS__)
3515 log_error(srv->errh, __FILE__, __LINE__, in mod_nss_ssl_conf_ciphersuites()
3547 int rc = nss_parse_ciphers(srv->errh, ciphers, cipher_state); in mod_nss_ssl_conf_ciphersuites()
3553 ap_log_error(APLOG_MARK, APLOG_ERR, 0, srv->errh, in mod_nss_ssl_conf_ciphersuites()
3560 ap_log_error(APLOG_MARK, APLOG_ERR, 0, srv->errh, in mod_nss_ssl_conf_ciphersuites()