aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2008-11-24 19:19:46 +0000
committerMagnus Hagander <magnus@hagander.net>2008-11-24 19:19:46 +0000
commit47ed197c37c804ef4851458506410deb3ae7c2ea (patch)
treea25583251eef64ee79d4044d739804a3f0c0b931 /src
parent0884acbcab07367474fde56c41189e2203224054 (diff)
downloadpostgresql-47ed197c37c804ef4851458506410deb3ae7c2ea.tar.gz
postgresql-47ed197c37c804ef4851458506410deb3ae7c2ea.zip
Disable FNM_CASEFOLD. Need a proper solution later, but just comment
it out for now so the buildfarm recovers.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq/fe-secure.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c
index c72feeb0b23..9f6781be476 100644
--- a/src/interfaces/libpq/fe-secure.c
+++ b/src/interfaces/libpq/fe-secure.c
@@ -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