Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhfmM-00034n-Tm for pgsql-hackers@arkaria.postgresql.org; Mon, 01 Nov 2021 22:27:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mhflp-0001eg-Rs for pgsql-hackers@arkaria.postgresql.org; Mon, 01 Nov 2021 22:27:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhflo-0001eX-8F for pgsql-hackers@lists.postgresql.org; Mon, 01 Nov 2021 22:27:13 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhflj-0007Pw-Mx for pgsql-hackers@lists.postgresql.org; Mon, 01 Nov 2021 22:27:11 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 1C15C5C01F1; Mon, 1 Nov 2021 18:27:05 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 01 Nov 2021 18:27:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=ha1r4cYafSOycOxZ73hK5Pg0ljt W7qgzhLP11027yCc=; b=rIyPWUKuoU/+db5WIP66IS18fPFXeIFk6yg/gna27wO Ba+6lA5hfeNvMr5fdj6tL4Izxxl1ebJ3PhGijcPVdm5g/aLS7LYJI3XrybdGjSSK CIYxUavZCrC8dzbm9rubk9W13p+ZsTgykKnEtka25b06ReRO8wUzjL8cFYbk3VgS vYYQrjSdfj+sjt8AmW5C6ByG/OnbyDEPX5OT/et7U/Yk4Bkog5Se22L+C0S9v8h7 QBXKBnFJubm4M25T9dp/XAQf+H1oqdFRrT+L+Se0sqptmEdt5hSfsJn10vZf00yZ T2C918TVycdlXJtutp7HhMxkQPNb7/H6fg/Ym58x3zA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ha1r4c YafSOycOxZ73hK5Pg0ljtW7qgzhLP11027yCc=; b=g8ML6G5kLVB6WQTXzSb2qC wkJnWN960+ccqlC4saZ/qgZsInA78IYqq2C791Ah8wXDJoFddyyauX2Ebhd1KdjY Qn3fOoiIG5/qBrIcxyNyubxmRf1Hl4xCts91bzfEi2HuYRQolYgvHuQiW/66xQxE CvpBbeenSOENzSZgtMr9Evy+PRF5RBeadGjI8RzM6uy/zoiSoD/tGnZKyLU9H64l 14e2MyFqPirU49Zj5AlFrA7wkUBHrDMuNgxPGXQp2WuWw+jCllklzItBO5tfPzyV KI5ns0QwssoZQ1HiesLAFLgGzaeSF7stErZiGGY9Da8AHl3se3ZxGfxqDYJXJZkw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdehfedgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 1 Nov 2021 18:27:03 -0400 (EDT) Date: Tue, 2 Nov 2021 07:26:58 +0900 From: Michael Paquier To: Daniel Gustafsson Cc: Tom Lane , PostgreSQL Hackers , buildfarm@sraoss.co.jp Subject: Re: Missing include in be-secure-openssl.c? Message-ID: References: <1051867.1635720347@sss.pgh.pa.us> <3C44D869-9BA5-4D02-9812-BF85D105B315@yesql.se> <1129759.1635773615@sss.pgh.pa.us> <461EF47A-C979-4124-87E3-758A68A98D1E@yesql.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QnoNhMlFdX1YgCLE" Content-Disposition: inline In-Reply-To: <461EF47A-C979-4124-87E3-758A68A98D1E@yesql.se> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --QnoNhMlFdX1YgCLE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 01, 2021 at 11:15:32PM +0100, Daniel Gustafsson wrote: > On 1 Nov 2021, at 14:33, Tom Lane wrote: >>> Judging by OpenSSL, including both is common practice unless the module= only >>> deals with v3 extensions. Following that lead seems reasonable. >>=20 >> 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= =2Ec >> match that. >=20 > 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 --QnoNhMlFdX1YgCLE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmGAabIACgkQnvQgOdby QH1E6Q//Vw5797PB0ldtEljctVZaZSIFukPKK796Pz1anqeL7IgQ3buUbGwTsYhj t7iDTuR3bgG9f/qCLymyBUmaX/Utn7ltS7i7TeyJzSABf2m31bkJtiZP9d0jCdtk PnDwJ6IQ/g6/XBO3hAEJchlWB0/9fcxFTwHBPn/pK02ySLUyRNxQ+2u/AGR3NIyl XR/rfIT85qXczvFjAOtfBSjBIxL6fDUHZdm3S+nez5/bkqLbQv03/f/1i6uQ1VKb RVP/E8IVvpYDW5eRub0uGAJfB+LmyUvRMqUXvkWKheemwPc+9QhrpwNSKVb0Tjnj vrVUxg2TrsbgC3zmrxjvb9P2ydQuGZksVzrzGYVfLY7pjAwee+arXWtVT/LHJjP2 RC16frOLGzpmKLJZToOksjGUObcPZWBKC9xXspOyPsN7u1mz2NL04UwLldFdhl7I A03W0PH2yhs0bWUXD54h26vAyBw+Tsyt/q5OFRFdcAu49rRcQzK0dDWOzrOvRzD4 whZNm74Tmk4nB0PiUGSP130q3qj8foBElVnTtcpnjL29teWEUr4XlZGqC8FsOdWB 7UYCbi3XuD11pgMf0DEynZX0IbWJMMJXIZfAD8b4BX2IjI/fOe5XCAVXq2XMz07I odO7tKwzTbNDuveRGDvbp4m+1novgCnvyjmdhlyEL+wpovRkWqo= =k7eQ -----END PGP SIGNATURE----- --QnoNhMlFdX1YgCLE--