- Timestamp:
- Sep 30, 2018, 2:10:42 PM (2 years ago)
- Branches:
- asyncio, debian/master, master, proxy-ticket
- Children:
- 1a3068c
- Parents:
- fdd3bf0
- Location:
- src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_hooks.c
rfdd3bf0 rbac1a32 603 603 sc->singleton_wd = sc_base->singleton_wd; 604 604 605 rv = mgs_load_files(pconf, ptemp, s);606 if (rv != 0) {607 ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s,608 "GnuTLS: Loading required files failed."609 " Shutting Down.");610 return HTTP_NOT_FOUND;611 }612 613 605 /* defaults for unset values: */ 614 606 if (sc->enabled == GNUTLS_ENABLED_UNSET) … … 629 621 sc->client_verify_method = mgs_cvm_cartel; 630 622 631 // TODO: None of the stuff below (and neither some above) 632 // makes sense if sc->enabled == GNUTLS_ENABLED_FALSE, we 633 // should just continue to the next host. All code below could 634 // then safely assume sc->enabled == GNUTLS_ENABLED_TRUE. 623 // TODO: None of the stuff below needs to be done if 624 // sc->enabled == GNUTLS_ENABLED_FALSE, we could just continue 625 // to the next host. 626 627 /* Load certificates and stuff (includes parsing priority) */ 628 rv = mgs_load_files(pconf, ptemp, s); 629 if (rv != 0) { 630 ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s, 631 "%s: Loading credentials failed!", __func__); 632 return HTTP_NOT_FOUND; 633 } 635 634 636 635 sc->ocsp_mutex = sc_base->ocsp_mutex; -
src/gnutls_io.c
rfdd3bf0 rbac1a32 3 3 * Copyright 2008 Nikos Mavrogiannopoulos 4 4 * Copyright 2011 Dash Shendy 5 * Copyright 2015-201 7Fiona Klute5 * Copyright 2015-2018 Fiona Klute 6 6 * 7 7 * Licensed under the Apache License, Version 2.0 (the "License"); -
src/gnutls_ocsp.c
rfdd3bf0 rbac1a32 1179 1179 sc->ocsp->trust = apr_palloc(pconf, 1180 1180 sizeof(gnutls_x509_trust_list_t)); 1181 1182 1181 /* Only the direct issuer may sign the OCSP response or an OCSP 1182 * signer. */ 1183 1183 int ret = mgs_create_ocsp_trust_list(sc->ocsp->trust, 1184 1184 &(sc->certs_x509_crt_chain[1]),
Note: See TracChangeset
for help on using the changeset viewer.