Re: SSL SNI - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: SSL SNI
Date
Msg-id 504c276ab6eee000bb23d571ea9b0ced4250774e.camel@vmware.com
Whole thread Raw
In response to Re: SSL SNI  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: SSL SNI  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, 2021-04-07 at 15:32 +0200, Peter Eisentraut wrote:
> Committed like that.  (Default to on, but it's easy to change if there 
> are any further thoughts.)

Hi Peter,

It looks like this code needs some guards for a NULL conn->pghost. For example when running

    psql 'dbname=postgres sslmode=require hostaddr=127.0.0.1'
with no PGHOST in the environment, psql is currently segfaulting for
me.

--Jacob

pgsql-hackers by date:

Previous
From: Arne Roland
Date:
Subject: Re: PATCH: generate fractional cheapest paths in generate_orderedappend_path
Next
From: Jeff Davis
Date:
Subject: Re: Support for NSS as a libpq TLS backend