Disable FNM_CASEFOLD. Need a proper solution later, but just comment

it out for now so the buildfarm recovers.
This commit is contained in:
Magnus Hagander 2008-11-24 19:19:46 +00:00
parent 0884acbcab
commit 47ed197c37
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.108 2008/11/24 09:15:16 mha Exp $
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.109 2008/11/24 19:19:46 mha Exp $
*
* NOTES
*
@ -472,7 +472,7 @@ verify_peer_name_matches_certificate(PGconn *conn)
if (pg_strcasecmp(conn->peer_cn, conn->pghost) == 0)
/* Exact name match */
return true;
else if (fnmatch(conn->peer_cn, conn->pghost, FNM_NOESCAPE | FNM_CASEFOLD) == 0)
else if (fnmatch(conn->peer_cn, conn->pghost, FNM_NOESCAPE/* | FNM_CASEFOLD*/) == 0)
/* Matched wildcard certificate */
return true;
else