From: Magnus Hagander Date: Mon, 24 Nov 2008 19:19:46 +0000 (+0000) Subject: Disable FNM_CASEFOLD. Need a proper solution later, but just comment X-Git-Tag: recoveryinfrav9~300 X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=28b18ac0bb464f055091252b4b2c1d75ea55cea2;p=users%2Fsimon%2Fpostgres.git Disable FNM_CASEFOLD. Need a proper solution later, but just comment it out for now so the buildfarm recovers. --- diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c index d4de859dde..828e867c10 100644 --- a/src/interfaces/libpq/fe-secure.c +++ b/src/interfaces/libpq/fe-secure.c @@ -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