Changeset bac1a32 in mod_gnutls


Ignore:
Timestamp:
Sep 30, 2018, 2:10:42 PM (21 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
debian/master, master, proxy-ticket
Children:
1a3068c
Parents:
fdd3bf0
Message:

Order, log message, and style fixes

Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    rfdd3bf0 rbac1a32  
    603603        sc->singleton_wd = sc_base->singleton_wd;
    604604
    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 
    613605        /* defaults for unset values: */
    614606        if (sc->enabled == GNUTLS_ENABLED_UNSET)
     
    629621            sc->client_verify_method = mgs_cvm_cartel;
    630622
    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        }
    635634
    636635        sc->ocsp_mutex = sc_base->ocsp_mutex;
  • src/gnutls_io.c

    rfdd3bf0 rbac1a32  
    33 *  Copyright 2008 Nikos Mavrogiannopoulos
    44 *  Copyright 2011 Dash Shendy
    5  *  Copyright 2015-2017 Fiona Klute
     5 *  Copyright 2015-2018 Fiona Klute
    66 *
    77 *  Licensed under the Apache License, Version 2.0 (the "License");
  • src/gnutls_ocsp.c

    rfdd3bf0 rbac1a32  
    11791179    sc->ocsp->trust = apr_palloc(pconf,
    11801180                                 sizeof(gnutls_x509_trust_list_t));
    1181      /* Only the direct issuer may sign the OCSP response or an OCSP
    1182       * signer. */
     1181    /* Only the direct issuer may sign the OCSP response or an OCSP
     1182     * signer. */
    11831183    int ret = mgs_create_ocsp_trust_list(sc->ocsp->trust,
    11841184                                         &(sc->certs_x509_crt_chain[1]),
Note: See TracChangeset for help on using the changeset viewer.