Changeset 845c112 in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
Jan 12, 2020, 5:27:45 AM (10 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master, proxy-ticket
Children:
a3e0f7b
Parents:
587642d
Message:

Async OCSP updates for multi-stapling

There's now one mod_watchdog callback per certificate with stapling
enabled, so they all get updated independently. Adding "server" to the
OCSP data structure is necessary because the async update function
needs access to the virtual host configuration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    r587642d r845c112  
    414414            gnutls_ocsp_data_st *resp =
    415415                apr_palloc(ctxt->c->pool,
    416                            sizeof(gnutls_ocsp_data_st)
    417                            * (ctxt->sc->certs_x509_chain_num - 1));
     416                           sizeof(gnutls_ocsp_data_st) * ctxt->sc->ocsp_num);
    418417
    419418            for (unsigned int i = 0; i < ctxt->sc->ocsp_num; i++)
Note: See TracChangeset for help on using the changeset viewer.