Skip site navigation (1) Skip section navigation (2)

Re: pgsql: Add support for matching wildcard server certificates to the new

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Add support for matching wildcard server certificates to the new
Date: 2008-11-24 13:43:09
Message-ID: 492AAF6D.3000408@hagander.net (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
Tom Lane wrote:
> mha(at)postgresql(dot)org (Magnus Hagander) writes:
>> Add support for matching wildcard server certificates to the new SSL code.
>> This uses the function fnmatch() which is not available on all platforms
>> (notably Windows), so import the implementation from NetBSD into src/port.
> 
> This has broken buildfarm member grebe ...

Grr.

Seems it doesn't define FNM_CASEFOLD. I guess it's not supported on AIX.

An easy fix would be a simple
#ifndef FNM_CASEFOLD
#define 0
#endif

that'll basically turn of the functionality. The other option is to have
autoconf substitute our own local version of fnmatch when this happens.
How would one go about to do that in autoconf asks the autoconf n00b?

//Magnus


In response to

Responses

pgsql-hackers by date

Next:From: Dave PageDate: 2008-11-24 13:47:54
Subject: Re: blatantly a bug in the documentation
Previous:From: Hitoshi HaradaDate: 2008-11-24 13:41:43
Subject: Re: Windowing Function Patch Review -> Standard Conformance

pgsql-committers by date

Next:From: Tom LaneDate: 2008-11-24 13:49:55
Subject: Re: pgsql: Add support for matching wildcard server certificates to the new
Previous:From: Tom LaneDate: 2008-11-24 13:37:30
Subject: Re: pgsql: Add support for matching wildcard server certificates to the new

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group