- Timestamp:
- Sep 24, 2010, 2:51:52 AM (12 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, master, msva, proxy-ticket, upstream
- Children:
- be90561
- Parents:
- 771ca63
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_cache.c
r771ca63 rd8c7cf4 297 297 const char* db_type(mgs_srvconf_rec * sc) 298 298 { 299 if (sc->cache_type == mgs_cache_ sdbm)300 return " sdbm";299 if (sc->cache_type == mgs_cache_gdbm) 300 return "gdbm"; 301 301 else 302 return "d efault";302 return "db"; 303 303 } 304 304 … … 556 556 mgs_srvconf_rec *sc) 557 557 { 558 if (sc->cache_type == mgs_cache_dbm || sc->cache_type == mgs_cache_ sdbm) {558 if (sc->cache_type == mgs_cache_dbm || sc->cache_type == mgs_cache_gdbm) { 559 559 return dbm_cache_post_config(p, s, sc); 560 560 } … … 565 565 mgs_srvconf_rec *sc) 566 566 { 567 if (sc->cache_type == mgs_cache_dbm || sc->cache_type == mgs_cache_ sdbm) {567 if (sc->cache_type == mgs_cache_dbm || sc->cache_type == mgs_cache_gdbm) { 568 568 return 0; 569 569 } … … 580 580 int mgs_cache_session_init(mgs_handle_t *ctxt) 581 581 { 582 if (ctxt->sc->cache_type == mgs_cache_dbm || ctxt->sc->cache_type == mgs_cache_ sdbm) {582 if (ctxt->sc->cache_type == mgs_cache_dbm || ctxt->sc->cache_type == mgs_cache_gdbm) { 583 583 gnutls_db_set_retrieve_function(ctxt->session, dbm_cache_fetch); 584 584 gnutls_db_set_remove_function(ctxt->session, dbm_cache_delete); -
src/gnutls_config.c
r771ca63 rd8c7cf4 349 349 sc->cache_type = mgs_cache_dbm; 350 350 } 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; 353 353 } 354 354 #if HAVE_APR_MEMCACHE … … 361 361 } 362 362 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) { 364 364 sc->cache_config = ap_server_root_relative(parms->pool, arg); 365 365 } else {
Note: See TracChangeset
for help on using the changeset viewer.