Changeset bbb9bb1 in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Jan 11, 2013, 12:58:02 AM (7 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, upstream
Children:
5508683, ae015fa
Parents:
66b608e
Message:

Imported Upstream version 0.5.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    r66b608e rbbb9bb1  
    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
     
    328344    }
    329345
    330     if (strcasecmp("none", type) == 0) {
    331         sc->cache_type = mgs_cache_none;
    332     } else if (strcasecmp("dbm", type) == 0) {
     346    sc->cache_type = mgs_cache_none;
     347    if (strcasecmp("dbm", type) == 0) {
    333348        sc->cache_type = mgs_cache_dbm;
    334349    }
     
    590605    sc->certs_x509_num = 0;
    591606    sc->cache_timeout = apr_time_from_sec(300);
    592     sc->cache_type = mgs_cache_dbm;
     607    sc->cache_type = mgs_cache_none;
    593608    sc->cache_config = ap_server_root_relative(p, "conf/gnutls_cache");
    594609
Note: See TracChangeset for help on using the changeset viewer.