Changeset ae233c2 in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Jun 30, 2010, 9:09:56 PM (9 years ago)
Author:
Nikos Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
bca274d
Parents:
7b3e5de
Message:

Added option to turn on/off session tickets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    r7b3e5de rae233c2  
    286286}
    287287
     288const char *mgs_set_tickets(cmd_parms * parms, void *dummy,
     289                                     const char *arg)
     290{
     291    mgs_srvconf_rec *sc =
     292        (mgs_srvconf_rec *) ap_get_module_config(parms->server->
     293                                                 module_config,
     294                                                 &gnutls_module);
     295
     296    sc->tickets = 0;
     297    if (strcasecmp("on", arg) == 0) {
     298        sc->tickets = 1;
     299    }
     300
     301    return NULL;
     302}
     303
    288304
    289305#ifdef ENABLE_SRP
Note: See TracChangeset for help on using the changeset viewer.