mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Disable FNM_CASEFOLD. Need a proper solution later, but just comment
it out for now so the buildfarm recovers.
This commit is contained in:
@ -11,7 +11,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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
|
* NOTES
|
||||||
*
|
*
|
||||||
@ -472,7 +472,7 @@ verify_peer_name_matches_certificate(PGconn *conn)
|
|||||||
if (pg_strcasecmp(conn->peer_cn, conn->pghost) == 0)
|
if (pg_strcasecmp(conn->peer_cn, conn->pghost) == 0)
|
||||||
/* Exact name match */
|
/* Exact name match */
|
||||||
return true;
|
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 */
|
/* Matched wildcard certificate */
|
||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user