Changeset 671b64f in mod_gnutls for src/mod_gnutls.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/mod_gnutls.c

    r9720026 r671b64f  
    2121
    2222static void gnutls_hooks(apr_pool_t * p) {
    23    
     23
    2424    /* Try Run Post-Config Hook After mod_proxy */
    2525    static const char * const aszPre[] = { "mod_proxy.c", NULL };
    26     ap_hook_post_config(mgs_hook_post_config, aszPre, NULL,APR_HOOK_REALLY_LAST); 
     26    ap_hook_post_config(mgs_hook_post_config, aszPre, NULL,APR_HOOK_REALLY_LAST);
    2727    /* HTTP Scheme Hook */
    2828#if USING_2_1_RECENT
     
    3737    /* Pre-Config Hook */
    3838    ap_hook_pre_config(mgs_hook_pre_config, NULL, NULL,
    39             APR_HOOK_MIDDLE);   
     39            APR_HOOK_MIDDLE);
    4040    /* Child-Init Hook */
    4141    ap_hook_child_init(mgs_hook_child_init, NULL, NULL,
     
    4848
    4949    /* TODO: HTTP Upgrade Filter */
    50     /* ap_register_output_filter ("UPGRADE_FILTER", 
     50    /* ap_register_output_filter ("UPGRADE_FILTER",
    5151     *          ssl_io_filter_Upgrade, NULL, AP_FTYPE_PROTOCOL + 5);
    5252     */
     
    5858    ap_register_output_filter(GNUTLS_OUTPUT_FILTER_NAME,
    5959            mgs_filter_output, NULL,AP_FTYPE_CONNECTION + 5);
    60    
     60
    6161    /* mod_proxy calls these functions */
    6262    APR_REGISTER_OPTIONAL_FN(ssl_proxy_enable);
     
    6565
    6666int ssl_is_https(conn_rec *c) {
    67     mgs_srvconf_rec *sc = (mgs_srvconf_rec *) 
     67    mgs_srvconf_rec *sc = (mgs_srvconf_rec *)
    6868            ap_get_module_config(c->base_server->module_config, &gnutls_module);
    6969    if(sc->enabled == 0 || sc->non_ssl_request == 1) {
     
    7676
    7777int ssl_engine_disable(conn_rec *c) {
    78     mgs_srvconf_rec *sc = (mgs_srvconf_rec *) 
     78    mgs_srvconf_rec *sc = (mgs_srvconf_rec *)
    7979            ap_get_module_config(c->base_server->module_config, &gnutls_module);
    8080    if(sc->enabled == GNUTLS_ENABLED_FALSE) {
    8181        return 1;
    82     } 
     82    }
    8383    ap_remove_input_filter(c->input_filters);
    8484    ap_remove_input_filter(c->output_filters);
     
    8989
    9090int ssl_proxy_enable(conn_rec *c) {
    91     mgs_srvconf_rec *sc = (mgs_srvconf_rec *) 
     91    mgs_srvconf_rec *sc = (mgs_srvconf_rec *)
    9292            ap_get_module_config(c->base_server->module_config, &gnutls_module);
    9393    sc->proxy_enabled = 1;
Note: See TracChangeset for help on using the changeset viewer.