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

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: pgsql: Add support for matching wildcard server certificates to the new
Дата
Msg-id 492AAF6D.3000408@hagander.net
обсуждение исходный текст
Ответ на Re: pgsql: Add support for matching wildcard server certificates to the new  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Add support for matching wildcard server certificates to the new  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Tom Lane wrote:
> mha@postgresql.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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Add support for matching wildcard server certificates to the new
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Add support for matching wildcard server certificates to the new