Changeset 176047e in mod_gnutls for src/mod_gnutls.c


Ignore:
Timestamp:
Sep 17, 2015, 4:25:07 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
88df24d
Parents:
7764015
Message:

Use AP_INIT_FLAG for On/Off? config directives

Letting the Apache config parser handle the parameter and just pass a
boolean to the module's handler simplifies the handler functions
significantly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mod_gnutls.c

    r7764015 r176047e  
    137137
    138138static const command_rec mgs_config_cmds[] = {
    139     AP_INIT_TAKE1("GnuTLSProxyEngine", mgs_set_proxy_engine,
     139    AP_INIT_FLAG("GnuTLSProxyEngine", mgs_set_proxy_engine,
    140140    NULL,
    141141    RSRC_CONF | OR_AUTHCFG,
    142     "Enable SSL Proxy Engine"),
     142    "Enable TLS Proxy Engine"),
    143143    AP_INIT_TAKE1("GnuTLSP11Module", mgs_set_p11_module,
    144144    NULL,
     
    220220    RSRC_CONF,
    221221    "Cache Configuration"),
    222     AP_INIT_TAKE1("GnuTLSSessionTickets", mgs_set_tickets,
     222    AP_INIT_FLAG("GnuTLSSessionTickets", mgs_set_tickets,
    223223    NULL,
    224224    RSRC_CONF,
     
    228228    RSRC_CONF,
    229229    "The priorities to enable (ciphers, Key exchange, macs, compression)."),
    230     AP_INIT_TAKE1("GnuTLSEnable", mgs_set_enabled,
     230    AP_INIT_FLAG("GnuTLSEnable", mgs_set_enabled,
    231231    NULL,
    232232    RSRC_CONF,
Note: See TracChangeset for help on using the changeset viewer.