MCPcopy Create free account
hub / github.com/apache/httpd / staple_here

Function staple_here

modules/md/mod_md_ocsp.c:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44#include "mod_md_ocsp.h"
45
46static int staple_here(md_srv_conf_t *sc)
47{
48 if (!sc || !sc->mc->ocsp) return 0;
49 if (sc->assigned
50 && sc->assigned->nelts == 1
51 && APR_ARRAY_IDX(sc->assigned, 0, const md_t*)->stapling) return 1;
52 return (md_config_geti(sc, MD_CONFIG_STAPLING)
53 && md_config_geti(sc, MD_CONFIG_STAPLE_OTHERS));
54}
55
56int md_ocsp_prime_status(server_rec *s, apr_pool_t *p,
57 const char *id, apr_size_t id_len, const char *pem)

Callers 2

md_ocsp_prime_statusFunction · 0.85
md_ocsp_provide_statusFunction · 0.85

Calls 1

md_config_getiFunction · 0.85

Tested by

no test coverage detected