From: Michael Paquier <michael@paquier.xyz>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: buildfarm@sraoss.co.jp
Subject: Re: Missing include <openssl/x509.h> in be-secure-openssl.c?
Date: Tue, 2 Nov 2021 07:26:58 +0900
Message-ID: <YYBpstjmTv2xbc74@paquier.xyz> (raw)
In-Reply-To: <461EF47A-C979-4124-87E3-758A68A98D1E@yesql.se>
References: <1051867.1635720347@sss.pgh.pa.us>
<YX96r7i6h8JXOKD5@paquier.xyz>
<3C44D869-9BA5-4D02-9812-BF85D105B315@yesql.se>
<1129759.1635773615@sss.pgh.pa.us>
<461EF47A-C979-4124-87E3-758A68A98D1E@yesql.se>
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
Attachments:
signature.asc (application/pgp-signature, 832B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: michael@paquier.xyz, daniel@yesql.se, tgl@sss.pgh.pa.us, buildfarm@sraoss.co.jp
Subject: Re: Missing include <openssl/x509.h> in be-secure-openssl.c?
In-Reply-To: <YYBpstjmTv2xbc74@paquier.xyz>
References: <1051867.1635720347@sss.pgh.pa.us> <YX96r7i6h8JXOKD5@paquier.xyz> <3C44D869-9BA5-4D02-9812-BF85D105B315@yesql.se> <1129759.1635773615@sss.pgh.pa.us> <461EF47A-C979-4124-87E3-758A68A98D1E@yesql.se> <YYBpstjmTv2xbc74@paquier.xyz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox