34extern module AP_MODULE_DECLARE_DATA tls_module;
80 "Failed add OCSP data to certificate: [%d] %s", (
int)
rr,
err_descr);
84 "provided %ld bytes of ocsp response DER data to key.", (
long)der_len);
109 ctx.key_in = certified_key;
114 "ocsp response not available for cert %s", key_id);
APR general purpose library routines.
#define APLOG_USE_MODULE(foo)
apr_status_t ap_ssl_ocsp_get_resp(server_rec *s, conn_rec *c, const char *id, apr_size_t id_len, ap_ssl_ocsp_copy_resp *cb, void *userdata)
apr_status_t ap_ssl_ocsp_prime(server_rec *s, apr_pool_t *p, const char *id, apr_size_t id_len, const char *pem)
apr_brigade_flush void * ctx
void const char apr_status_t(* cleanup)(void *))
apr_vformatter_buff_t * c
Apache connection library.
static long gc(server_rec *s)
Structure to store things which are per connection.
const rustls_certified_key * key_out
const rustls_certified_key * key_in
A structure to store information for each virtual server.
struct tls_cert_reg_t * cert_reg
tls_conf_global_t * global
apr_size_t tls_cert_reg_count(tls_cert_reg_t *reg)
void tls_cert_reg_do(tls_cert_reg_visitor *visitor, void *userdata, tls_cert_reg_t *reg)
const char * tls_cert_reg_get_id(tls_cert_reg_t *reg, const rustls_certified_key *certified_key)
tls_conf_server_t * tls_conf_server_get(server_rec *s)
tls_conf_conn_t * tls_conf_conn_get(conn_rec *c)
apr_status_t tls_ocsp_prime_certs(tls_conf_global_t *gc, apr_pool_t *p, server_rec *s)
static void ocsp_clone_key(const unsigned char *der, apr_size_t der_len, void *userdata)
apr_status_t tls_ocsp_update_key(conn_rec *c, const rustls_certified_key *certified_key, const rustls_certified_key **pkey_out)
static int prime_cert(void *userdata, server_rec *s, const char *cert_id, const char *cert_pem, const rustls_certified_key *certified_key)
apr_status_t tls_util_rustls_error(apr_pool_t *p, rustls_result rr, const char **perr_descr)