mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
switch to APR 1.0 API (which is still in flux)
because of the changes to the argument lists of apr_mmap_dup and apr_socket_create, 2.1-dev won't build with apr and apr-util's 0.9 branch anymore git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101154 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -852,11 +852,11 @@ static void ssl_check_public_cert(server_rec *s,
|
||||
}
|
||||
|
||||
if (SSL_X509_getCN(ptemp, cert, &cn)) {
|
||||
int fnm_flags = FNM_PERIOD|FNM_CASE_BLIND;
|
||||
int fnm_flags = APR_FNM_PERIOD|APR_FNM_CASE_BLIND;
|
||||
|
||||
if (apr_fnmatch_test(cn) &&
|
||||
(apr_fnmatch(cn, s->server_hostname,
|
||||
fnm_flags) == FNM_NOMATCH))
|
||||
fnm_flags) == APR_FNM_NOMATCH))
|
||||
{
|
||||
ap_log_error(APLOG_MARK, APLOG_WARNING, 0, s,
|
||||
"%s server certificate wildcard CommonName (CN) `%s' "
|
||||
|
Reference in New Issue
Block a user