From: Michael Paquier <michael@paquier.xyz>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: libq support for sslpassword connection param, DER format keys
Date: Sun, 1 Dec 2019 13:04:29 +0900
Message-ID: <20191201040429.GM2355@paquier.xyz> (raw)
In-Reply-To: <E1ib9cL-0004i5-W1@gemulon.postgresql.org>
References: <E1ib9cL-0004i5-W1@gemulon.postgresql.org>
Andrew,
On Sat, Nov 30, 2019 at 08:45:25PM +0000, Andrew Dunstan wrote:
> libq support for sslpassword connection param, DER format keys
>
> This patch providies for support for password protected SSL client
> keys in libpq, and for DER format keys, both encrypted and unencrypted.
> There is a new connection parameter sslpassword, which is supplied to
> the OpenSSL libraries via a callback function. The callback function can
> also be set by an application by calling PQgetSSLKeyPassHook(). There is
> also a function to retreive the connection setting, PQsslpassword().
Windows build is broken after this commit at link time on most animals:
libpqdll.def : error LNK2001: unresolved external symbol
PQdefaultSSLKeyPassHook
[C:\buildfarm\buildenv\HEAD\pgsql.build\libpq.vcxproj]
libpqdll.def : error LNK2001: unresolved external symbol
PQgetSSLKeyPassHook
[C:\buildfarm\buildenv\HEAD\pgsql.build\libpq.vcxproj]
libpqdll.def : error LNK2001: unresolved external symbol
PQsetSSLKeyPassHook [C:\buildfarm\buildenv\HEAD\pgsql.build\libpq.vcxproj]
I have not checked the build, but it seems like the indentation in
exports.txt is not right. Your patch has added tabs for the new
entries, but spaces have been used up to now.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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: michael@paquier.xyz, andrew@dunslane.net
Subject: Re: pgsql: libq support for sslpassword connection param, DER format keys
In-Reply-To: <20191201040429.GM2355@paquier.xyz>
References: <E1ib9cL-0004i5-W1@gemulon.postgresql.org> <20191201040429.GM2355@paquier.xyz>
* 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