From: William A. Rowe Jr Date: Mon, 8 Jul 2002 17:43:34 +0000 (+0000) Subject: Changes for deprecated apr_is_fnmatch X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85abaa79d509e7e4873da52bef312f215c142c38;p=thirdparty%2Fapache%2Fhttpd.git Changes for deprecated apr_is_fnmatch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95976 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_init.c b/ssl_engine_init.c index 2203210db7e..bf63baf4c1a 100644 --- a/ssl_engine_init.c +++ b/ssl_engine_init.c @@ -857,7 +857,7 @@ static void ssl_check_public_cert(server_rec *s, if (SSL_X509_getCN(ptemp, cert, &cn)) { int fnm_flags = FNM_PERIOD|FNM_CASE_BLIND; - if (apr_is_fnmatch(cn) && + if (apr_fnmatch_test(cn) && (apr_fnmatch(cn, s->server_hostname, fnm_flags) == FNM_NOMATCH)) {