- Timestamp:
- May 29, 2016, 6:06:59 PM (6 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, master, proxy-ticket, upstream
- Children:
- 20f8e99
- Parents:
- b674e95
- Location:
- src
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Makefile.am
rb674e95 r94cb972 6 6 endif 7 7 8 mod_gnutls_la_SOURCES = mod_gnutls.c gnutls_io.c gnutls_cache.c gnutls_config.c gnutls_hooks.c 8 mod_gnutls_la_SOURCES = mod_gnutls.c gnutls_io.c gnutls_cache.c \ 9 gnutls_config.c gnutls_hooks.c gnutls_ocsp.c 9 10 mod_gnutls_la_CFLAGS = -Wall ${MODULE_CFLAGS} 10 11 mod_gnutls_la_LDFLAGS = -module -avoid-version ${MODULE_LIBS} 12 noinst_HEADERS = gnutls_ocsp.h 11 13 12 14 apmodpkglib_LTLIBRARIES = mod_gnutls.la -
src/gnutls_config.c
rb674e95 r94cb972 972 972 sc->proxy_priorities = NULL; 973 973 974 sc->ocsp_response_file = NULL; 975 974 976 /* this relies on GnuTLS never changing the gnutls_certificate_request_t enum to define -1 */ 975 977 sc->client_verify_mode = -1; … … 1027 1029 gnutls_srvconf_merge(proxy_priorities_str, NULL); 1028 1030 gnutls_srvconf_merge(proxy_priorities, NULL); 1031 1032 gnutls_srvconf_merge(ocsp_response_file, NULL); 1029 1033 1030 1034 /* FIXME: the following items are pre-allocated, and should be -
src/gnutls_hooks.c
rb674e95 r94cb972 21 21 22 22 #include "mod_gnutls.h" 23 #include "gnutls_ocsp.h" 23 24 #include "http_vhost.h" 24 25 #include "ap_mpm.h" … … 156 157 /* Set Anon credentials */ 157 158 gnutls_credentials_set(session, GNUTLS_CRD_ANON, ctxt->sc->anon_creds); 159 160 if (ctxt->sc->ocsp_response_file != NULL) 161 { 162 gnutls_certificate_set_ocsp_status_request_function(ctxt->sc->certs, 163 mgs_get_ocsp_response, 164 ctxt); 165 } 158 166 159 167 #ifdef ENABLE_SRP -
src/mod_gnutls.c
rb674e95 r94cb972 20 20 21 21 #include "mod_gnutls.h" 22 #include "gnutls_ocsp.h" 22 23 23 24 #ifdef APLOG_USE_MODULE … … 275 276 "The priorities to enable for proxy connections (ciphers, key exchange, " 276 277 "MACs, compression)."), 278 AP_INIT_TAKE1("GnuTLSOCSPResponseFile", mgs_store_ocsp_response_path, 279 NULL, 280 RSRC_CONF, 281 "EXPERIMENTAL: OCSP response for stapling (must be updated externally)"), 277 282 { NULL }, 278 283 };
Note: See TracChangeset
for help on using the changeset viewer.