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 1mhXRW-0006Na-29 for pgsql-hackers@arkaria.postgresql.org; Mon, 01 Nov 2021 13:33:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mhXRU-0007af-9x for pgsql-hackers@arkaria.postgresql.org; Mon, 01 Nov 2021 13:33:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhXRU-0007aV-1c for pgsql-hackers@lists.postgresql.org; Mon, 01 Nov 2021 13:33:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhXRR-0003MY-Mq for pgsql-hackers@lists.postgresql.org; Mon, 01 Nov 2021 13:33:39 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1A1DXZEu1129760; Mon, 1 Nov 2021 09:33:35 -0400 From: Tom Lane To: Daniel Gustafsson cc: Michael Paquier , PostgreSQL Hackers , buildfarm@sraoss.co.jp Subject: Re: Missing include in be-secure-openssl.c? In-reply-to: <3C44D869-9BA5-4D02-9812-BF85D105B315@yesql.se> References: <1051867.1635720347@sss.pgh.pa.us> <3C44D869-9BA5-4D02-9812-BF85D105B315@yesql.se> Comments: In-reply-to Daniel Gustafsson message dated "Mon, 01 Nov 2021 11:51:30 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1129758.1635773615.1@sss.pgh.pa.us> Date: Mon, 01 Nov 2021 09:33:35 -0400 Message-ID: <1129759.1635773615@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniel Gustafsson writes: > It does make sense, but it's a bit worrisome that the indirect inclusion no > longer works as there is no obvious explanation as to why. Yeah. Just to make things even more confusing, hamerkop is not failing in the back branches. v14 at least has exactly the same contents of be-secure-openssl.c, so how's that happening? >> x509v3.h includes x509.h, so fe-secure-openssl.h would not need an >> update. Now could it be a better practice to include both there? > 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. But it'd still be a good thing to trace the real cause. regards, tom lane