Changeset babdb29 in mod_gnutls for src/gnutls_config.c
- Timestamp:
- May 16, 2018, 2:12:08 AM (3 years ago)
- Branches:
- asyncio, debian/master, master, proxy-ticket
- Children:
- 92b5f4d
- Parents:
- d036f96
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_config.c
rd036f96 rbabdb29 625 625 else if (!strcasecmp(parms->directive->directive, "GnuTLSOCSPCache")) 626 626 { 627 // TODO 628 return NULL; 627 if (enable == GNUTLS_ENABLED_FALSE) 628 { 629 /* TODO: Should this return an error like "use 630 * GnuTLSOCSPStapling off if you want to disable OCSP 631 * stapling"? */ 632 sc->ocsp_cache_enable = GNUTLS_ENABLED_FALSE; 633 return NULL; 634 } 635 sc->ocsp_cache_enable = GNUTLS_ENABLED_TRUE; 636 cache = &sc->ocsp_cache; 629 637 } 630 638 else … … 899 907 sc->ocsp_response_file = NULL; 900 908 sc->ocsp_mutex = NULL; 909 sc->ocsp_cache_enable = GNUTLS_ENABLED_UNSET; 910 sc->ocsp_cache = NULL; 901 911 sc->ocsp_cache_time = MGS_TIMEOUT_UNSET; 902 912 sc->ocsp_failure_timeout = MGS_TIMEOUT_UNSET;
Note: See TracChangeset
for help on using the changeset viewer.