Re: Handling better supported channel binding types for SSLimplementations

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Handling better supported channel binding types for SSLimplementations
Дата
Msg-id 20180122130536.GC1772@paquier.xyz
обсуждение исходный текст
Ответ на Re: Handling better supported channel binding types for SSL implementations  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: Handling better supported channel binding types for SSL implementations  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
On Mon, Jan 22, 2018 at 11:07:55AM +0100, Daniel Gustafsson wrote:
> An extensible API makes more sense than on/off (or one on/off call per
> binding).  Perhaps a way to validate the contents of the list is
> required though?  Or an assertion on the contents to catch errors
> during testing.

Do you have something specific in mind?

> Nitpicking: In src/backend/libpq/auth.c:CheckSCRAMAuth(), this comment
> reads a bit strange:
>
> +     * Get the list of channel binding types supported by this SSL
> +     * implementation to determine if server should publish -PLUS
> +     * mechanisms or not.
>
> Since auth.c isn’t tied to any SSL implementation, shouldn’t it be
> “supported by the configured SSL implementation” or something along
> those lines?

Yes, your words sound better.
--
Michael

Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] UPDATE of partition key
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] parallel.c oblivion of worker-startup failures