Re: pgsql: libq support for sslpassword connection param, DER format keys

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: libq support for sslpassword connection param, DER format keys
Date: 2019-12-01 04:04:29
Message-ID: 20191201040429.GM2355@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-12-01 18:10:06 pgsql: Fix misbehavior with expression indexes on ON COMMIT DELETE ROWS
Previous Message Andrew Dunstan 2019-11-30 20:45:25 pgsql: libq support for sslpassword connection param, DER format keys