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 1nHW25-0004Kr-Dk for pgsql-bugs@arkaria.postgresql.org; Tue, 08 Feb 2022 19:20:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nHW24-0005YU-83 for pgsql-bugs@arkaria.postgresql.org; Tue, 08 Feb 2022 19:20:08 +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 1nHW23-0005YL-W3 for pgsql-bugs@lists.postgresql.org; Tue, 08 Feb 2022 19:20:07 +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 1nHW21-0008BK-LP for pgsql-bugs@lists.postgresql.org; Tue, 08 Feb 2022 19:20:06 +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 218JJru91212294; Tue, 8 Feb 2022 14:19:54 -0500 From: Tom Lane To: Daniel Gustafsson cc: Thomas Munro , Andres Freund , byavuz81@gmail.com, PostgreSQL mailing lists , Heikki Linnakangas , Michael Paquier Subject: Re: BUG #17391: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL tests fail on OpenBSD 7.0 In-reply-to: <9FC8618A-C651-4438-A6A3-7E6682944922@yesql.se> References: <17391-304f81bcf724b58b@postgresql.org> <20220202213900.h7paogmcge2rtls6@alap3.anarazel.de> <131329.1643851912@sss.pgh.pa.us> <203742.1643866877@sss.pgh.pa.us> <887CBA28-0942-4084-BE09-FBE0D6A1DB53@yesql.se> <621771.1644098845@sss.pgh.pa.us> <635760.1644108785@sss.pgh.pa.us> <9FC8618A-C651-4438-A6A3-7E6682944922@yesql.se> Comments: In-reply-to Daniel Gustafsson message dated "Tue, 08 Feb 2022 15:16:44 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1212292.1644347993.1@sss.pgh.pa.us> Date: Tue, 08 Feb 2022 14:19:53 -0500 Message-ID: <1212293.1644347993@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniel Gustafsson writes: > On 6 Feb 2022, at 01:53, Tom Lane wrote: >> I'd recommend using host='' in the tests, as that more or less >> replicates what the test author probably expected to happen. On second thought, using 'localhost' as in your original patch might be better, simply so that we do exercise the call to SSL_set_tlsext_host_name. > Agreed. Are you taking care of that or should I? It's your patch, feel free. regards, tom lane