Changeset 64dadf8 in mod_gnutls


Ignore:
Timestamp:
Jan 13, 2015, 11:02:10 AM (3 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
master, debian, jessie-backports, upstream
Children:
3d361b8
Parents:
c32240f
Message:

Use proper GNUTLS_ENABLED_* macros in SSL proxy functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mod_gnutls.c

    rfd82e59 r64dadf8  
    8484    ap_remove_input_filter(c->output_filters);
    8585    mgs_cleanup_pre_config(c->pool);
    86     sc->enabled = 0;
     86    sc->enabled = GNUTLS_ENABLED_FALSE;
    8787    return 1;
    8888}
     
    9191    mgs_srvconf_rec *sc = (mgs_srvconf_rec *)
    9292            ap_get_module_config(c->base_server->module_config, &gnutls_module);
    93     sc->proxy_enabled = 1;
    94     sc->enabled = 0;
     93    sc->proxy_enabled = GNUTLS_ENABLED_TRUE;
     94    sc->enabled = GNUTLS_ENABLED_FALSE;
    9595    return 1;
    9696}
Note: See TracChangeset for help on using the changeset viewer.