1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Changes for deprecated apr_is_fnmatch

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95976 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William A. Rowe Jr
2002-07-08 17:43:34 +00:00
parent fc5a1debc7
commit 2604f8bdbb
4 changed files with 6 additions and 6 deletions

View File

@@ -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))
{