pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Daniel Gustafsson <daniel@yesql.se>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Only provide new libpq sslpasskey hook for openssl-enabled build
Date: Fri, 17 Apr 2020 15:46:47 -0400
Message-ID: <802aad18-cab1-a98b-879e-2c111d23efb4@2ndQuadrant.com> (raw)
In-Reply-To: <34E10ADF-C350-481E-91EB-7548F1EDA722@yesql.se>
References: <E1jPVa9-0001PF-Bh@gemulon.postgresql.org>
	<34E10ADF-C350-481E-91EB-7548F1EDA722@yesql.se>


On 4/17/20 3:27 PM, Daniel Gustafsson wrote:
>> On 17 Apr 2020, at 20:19, Andrew Dunstan <andrew@dunslane.net> wrote:
>>
>> Only provide new libpq sslpasskey hook for openssl-enabled builds
>>
>> In commit 4dc6355210 I neglected to put #ifdef USE_OPENSSL around the
>> declarations of the new items. This is remedied here.
> This wasn't really the problem I reported though.  As per my patch [0] in the
> email, the issue is with openssl_tls_init_hook in src/include/libpq/libpq-be.h
> requiring an OpenSSL specific SSL_CTX parameter, thus breaking compilation for
> other TLS backends. The name also makes it somewhat backend specific =)
>
> PQgetSSLKeyPassHook is written generic enough that it could make sense for
> other backends too, but for now I think we can keep the guards introduced in
> this commit.
>
> cheers ./daniel
>

Oh, *sigh* brainfade.


Will fix.


cheers


andrew


-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services






view thread (4+ messages)  latest in thread

Message-ID: <802aad18-cab1-a98b-879e-2c111d23efb4@2ndQuadrant.com>
Permalink:  ../802aad18-cab1-a98b-879e-2c111d23efb4@2ndQuadrant.com/
Also on:    postgresql.org/message-id/802aad18-cab1-a98b-879e-2c111d23efb4@2ndQuadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andrew.dunstan@2ndquadrant.com, daniel@yesql.se, andrew@dunslane.net
  Subject: Re: pgsql: Only provide new libpq sslpasskey hook for openssl-enabled build
  In-Reply-To: <802aad18-cab1-a98b-879e-2c111d23efb4@2ndQuadrant.com>
  References: <E1jPVa9-0001PF-Bh@gemulon.postgresql.org> <34E10ADF-C350-481E-91EB-7548F1EDA722@yesql.se> <802aad18-cab1-a98b-879e-2c111d23efb4@2ndQuadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox