Re: Missing include in be-secure-openssl.c?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Missing include in be-secure-openssl.c?
Дата
Msg-id YYBpstjmTv2xbc74@paquier.xyz
обсуждение исходный текст
Ответ на Re: Missing include in be-secure-openssl.c?  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: Missing include in be-secure-openssl.c?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Missing include in be-secure-openssl.c?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Nov 01, 2021 at 11:15:32PM +0100, Daniel Gustafsson wrote:
> On 1 Nov 2021, at 14:33, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Judging by OpenSSL, including both is common practice unless the module only
>>> deals with v3 extensions. Following that lead seems reasonable.
>>
>> I see that fe-secure-openssl.c includes only x509v3.h, and it builds
>> successfully on hamerkop.  So I'm now inclined to make be-secure-openssl.c
>> match that.
>
> That is in and out of itself not wrong, it shouldn't be required but it's
> definitely not wrong to do regardless of what's causing this.

I would follow the practice of upstream to include both if were me
to be consistent, but I'm also fine if you just add x509v3.h to
be-secure-openssl.c.
--
Michael

Вложения

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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Missing include in be-secure-openssl.c?
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Teach pg_receivewal to use lz4 compression