Changeset f06c148 in mod_gnutls
- Timestamp:
- Nov 2, 2018, 1:30:33 PM (4 years ago)
- Branches:
- asyncio, debian/master, master, proxy-ticket
- Children:
- 4e388b0
- Parents:
- 6d8c00c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/mod_gnutls.h.in
r6d8c00c rf06c148 28 28 #include "apr_tables.h" 29 29 #include "ap_release.h" 30 #include "apr_fnmatch.h"31 30 /* GnuTLS Library Headers */ 32 31 #include <gnutls/gnutls.h> -
src/gnutls_hooks.c
r6d8c00c rf06c148 897 897 } 898 898 } 899 /* Wild any ServerAlias Directives*/899 /* ServerAlias directives may contain wildcards, check those last. */ 900 900 } else if(s->wild_names->nelts) { 901 901 names = s->wild_names; 902 name = (char **) names->elts;902 name = (char **) names->elts; 903 903 for (int i = 0; i < names->nelts; ++i) 904 904 { 905 if (!name[i]) { continue; } 906 if(apr_fnmatch(name[i], x->sni_name , 907 APR_FNM_CASE_BLIND| 908 APR_FNM_PERIOD| 909 APR_FNM_PATHNAME| 910 APR_FNM_NOESCAPE) == APR_SUCCESS) { 905 if (!name[i]) 906 continue; 907 if (ap_strcasecmp_match(x->sni_name, name[i]) == 0) 908 { 911 909 x->sc = tsc; 912 910 rv = 1;
Note: See TracChangeset
for help on using the changeset viewer.