Changeset b59327c in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Nov 16, 2010, 9:05:30 AM (9 years ago)
Author:
Nikos Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
b4a875b
Parents:
e02dd8c
git-author:
Nikos Mavrogiannopoulos <nmav@…> (11/16/10 09:05:00)
git-committer:
Nikos Mavrogiannopoulos <nmav@…> (11/16/10 09:05:30)
Message:

GnuTLSCache can now take a single argument (none).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    re02dd8c rb59327c  
    371371        if (strcasecmp("none", type) == 0) {
    372372                sc->cache_type = mgs_cache_none;
     373                sc->cache_config = NULL;
     374                return NULL;
    373375        } else if (strcasecmp("dbm", type) == 0) {
    374376                sc->cache_type = mgs_cache_dbm;
     
    384386                return "Invalid Type for GnuTLSCache!";
    385387        }
     388       
     389        if (arg == NULL)
     390                return "Invalid argument 2 for GnuTLSCache!";
    386391
    387392        if (sc->cache_type == mgs_cache_dbm
Note: See TracChangeset for help on using the changeset viewer.