Changeset eced11a in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
May 16, 2018, 1:19:05 PM (2 years ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
debian/master, master, proxy-ticket
Children:
3358887
Parents:
92b5f4d
Message:

Remove server variable ocsp_cache_enable

There is no need to explicitly disable the OCSP cache: It will be used
if OCSP stapling is enabled, and not used otherwise.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    r92b5f4d reced11a  
    635635        if (sc->cache_timeout == MGS_TIMEOUT_UNSET)
    636636            sc->cache_timeout = sc_base->cache_timeout;
    637         sc->ocsp_cache_enable = sc_base->ocsp_cache_enable;
    638637        sc->ocsp_cache = sc_base->ocsp_cache;
    639638
     
    787786    }
    788787
    789     if (sc->ocsp_cache_enable == GNUTLS_ENABLED_TRUE)
     788    if (sc->ocsp_cache != NULL)
    790789    {
    791790        rv = mgs_cache_child_init(p, s, sc->ocsp_cache,
Note: See TracChangeset for help on using the changeset viewer.