Changeset d8c7cf4 in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Sep 24, 2010, 2:51:52 AM (9 years ago)
Author:
Nikos Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
be90561
Parents:
771ca63
Message:

Only allow two options for DB. Berkeley DB and gdbm. The other options
such as SDBM had serious limitations. Thanks to Hardy Griech for pointing out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    r771ca63 rd8c7cf4  
    349349        sc->cache_type = mgs_cache_dbm;
    350350    }
    351     else if (strcasecmp("sdbm", type) == 0) {
    352         sc->cache_type = mgs_cache_sdbm;
     351    else if (strcasecmp("gdbm", type) == 0) {
     352        sc->cache_type = mgs_cache_gdbm;
    353353    }
    354354#if HAVE_APR_MEMCACHE
     
    361361    }
    362362
    363     if (sc->cache_type == mgs_cache_dbm || sc->cache_type == mgs_cache_sdbm) {
     363    if (sc->cache_type == mgs_cache_dbm || sc->cache_type == mgs_cache_gdbm) {
    364364        sc->cache_config = ap_server_root_relative(parms->pool, arg);
    365365    } else {
Note: See TracChangeset for help on using the changeset viewer.