Changeset 14a6f41 in mod_gnutls
- Timestamp:
- Apr 24, 2018, 1:47:16 AM (5 years ago)
- Branches:
- asyncio, debian/master, master, proxy-ticket
- Children:
- 6c5c2ec
- Parents:
- de1ceab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_ocsp.c
rde1ceab r14a6f41 1092 1092 mgs_srvconf_rec *sc = (mgs_srvconf_rec *) 1093 1093 ap_get_module_config(server->module_config, &gnutls_module); 1094 // TODO: check for cache!1095 1094 1096 1095 if (sc->certs_x509_chain_num < 2) 1097 1096 { 1098 ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, server,1097 ap_log_error(APLOG_MARK, APLOG_STARTUP, APR_EINVAL, server, 1099 1098 "OCSP stapling is enabled but no CA certificate " 1100 1099 "available for %s:%d, make sure it is included in " 1101 1100 "GnuTLSCertificateFile!", 1102 1101 server->server_hostname, server->addrs->host_port); 1102 return HTTP_NOT_FOUND; 1103 } 1104 1105 if (sc->cache == NULL) 1106 { 1107 ap_log_error(APLOG_MARK, APLOG_STARTUP, APR_EINVAL, server, 1108 "OCSP stapling is enabled but no cache configured!"); 1103 1109 return HTTP_NOT_FOUND; 1104 1110 }
Note: See TracChangeset
for help on using the changeset viewer.