Changeset 671b64f in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Dec 3, 2013, 6:49:15 PM (6 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
5a3ab3c
Parents:
9720026
git-author:
Daniel Kahn Gillmor <dkg@…> (12/03/13 17:55:23)
git-committer:
Daniel Kahn Gillmor <dkg@…> (12/03/13 18:49:15)
Message:

remove all trailing whitespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    r9720026 r671b64f  
    119119        return apr_psprintf(parms->pool, "GnuTLS: Failed to Import Certificate '%s': (%d) %s", file, ret, gnutls_strerror(ret));
    120120    }
    121    
     121
    122122        apr_pool_destroy(spool);
    123123    return NULL;
     
    134134
    135135        mgs_srvconf_rec *sc = (mgs_srvconf_rec *) ap_get_module_config(parms->server->module_config, &gnutls_module);
    136    
     136
    137137        apr_pool_create(&spool, parms->pool);
    138138
     
    518518const char *mgs_set_proxy_engine(cmd_parms * parms, void *dummy,
    519519        const char *arg) {
    520    
    521     mgs_srvconf_rec *sc =(mgs_srvconf_rec *) 
     520
     521    mgs_srvconf_rec *sc =(mgs_srvconf_rec *)
    522522            ap_get_module_config(parms->server->module_config, &gnutls_module);
    523    
     523
    524524    if (!strcasecmp(arg, "On")) {
    525525        sc->proxy_enabled = GNUTLS_ENABLED_TRUE;
     
    569569    const char *err;
    570570
    571     mgs_srvconf_rec *sc = (mgs_srvconf_rec *) 
     571    mgs_srvconf_rec *sc = (mgs_srvconf_rec *)
    572572                                                  ap_get_module_config(parms->server->module_config, &gnutls_module);
    573573
     
    576576    if (ret < 0) {
    577577        if (ret == GNUTLS_E_INVALID_REQUEST) {
    578             return apr_psprintf(parms->pool, 
     578            return apr_psprintf(parms->pool,
    579579                                                                "GnuTLS: Syntax error parsing priorities string at: %s", err);
    580580                }
     
    635635    sc->proxy_enabled = GNUTLS_ENABLED_UNSET;
    636636    sc->export_certificates_enabled = GNUTLS_ENABLED_UNSET;
    637     sc->client_verify_method = mgs_cvm_unset; 
    638    
     637    sc->client_verify_method = mgs_cvm_unset;
     638
    639639/* this relies on GnuTLS never changing the gnutls_certificate_request_t enum to define -1 */
    640     sc->client_verify_mode = -1; 
     640    sc->client_verify_mode = -1;
    641641
    642642    return sc;
     
    675675     * properly disposed of before assigning in order to avoid leaks;
    676676     * so at the moment, we can't actually have them in the config.
    677      * what happens during de-allocation? 
     677     * what happens during de-allocation?
    678678
    679679     * This is probably leaky.
Note: See TracChangeset for help on using the changeset viewer.