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 1jPXf6-0005ic-N9 for pgsql-committers@arkaria.postgresql.org; Fri, 17 Apr 2020 20:32:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jPXf4-0000cs-8z for pgsql-committers@arkaria.postgresql.org; Fri, 17 Apr 2020 20:32:30 +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 1jPXf4-0000bO-3a for pgsql-committers@lists.postgresql.org; Fri, 17 Apr 2020 20:32:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPXew-0005S7-3a for pgsql-committers@lists.postgresql.org; Fri, 17 Apr 2020 20:32:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 03HKWJtb030791; Fri, 17 Apr 2020 16:32:19 -0400 From: Tom Lane To: Andrew Dunstan cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Only provide openssl_tls_init_hook if building with openssl In-reply-to: References: Comments: In-reply-to Andrew Dunstan message dated "Fri, 17 Apr 2020 20:00:04 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30789.1587155539.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 17 Apr 2020 16:32:19 -0400 Message-ID: <30790.1587155539@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andrew Dunstan writes: > Only provide openssl_tls_init_hook if building with openssl One or the other of these patches broke building without --with-openssl: fe-secure.c:435: error: expected '=3D', ',', ';', 'asm' or '__attribute__'= before 'PQgetSSLKeyPassHook' fe-secure.c:441: error: expected ')' before 'hook' fe-secure.c:447: warning: no previous prototype for 'PQdefaultSSLKeyPassHo= ok' make[3]: *** [fe-secure.o] Error 1 regards, tom lane