- Timestamp:
- Oct 1, 2007, 6:25:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/common/oursrc/httpdmods/mod_auth_sslcert.c
r390 r436 1 1 /* mod_auth_sslcert 2 * version 1.1 , released 2007-09-01 [NOT RELEASED YET]2 * version 1.1.1, released 2007-10-01 3 3 * Anders Kaseorg <andersk@mit.edu> 4 4 * … … 36 36 auth_sslcert_config_rec *conf = apr_pcalloc(p, sizeof(*conf)); 37 37 38 conf->authoritative = 1;38 conf->authoritative = -1; 39 39 conf->var = NULL; 40 40 conf->strip_suffix = NULL; 41 conf->strip_suffix_required = 1;41 conf->strip_suffix_required = -1; 42 42 43 43 return conf; … … 49 49 *conf = apr_pcalloc(p, sizeof(*conf)); 50 50 51 conf->authoritative = nconf->authoritative; 52 conf->var = (nconf->var != NULL) ? nconf->var : pconf->var; 51 conf->authoritative = (nconf->authoritative != -1) ? 52 nconf->authoritative : pconf->authoritative; 53 conf->var = (nconf->var != NULL) ? 54 nconf->var : pconf->var; 53 55 conf->strip_suffix = (nconf->var != NULL || nconf->strip_suffix != NULL) ? 54 56 nconf->strip_suffix : pconf->strip_suffix; 57 conf->strip_suffix_required = (nconf->var != NULL || nconf->strip_suffix_required != -1) ? 58 nconf->authoritative : pconf->authoritative; 55 59 56 60 return conf;
Note: See TracChangeset
for help on using the changeset viewer.