summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/exports.txt
diff options
context:
space:
mode:
authorAndrew Dunstan2019-11-30 20:27:13 +0000
committerAndrew Dunstan2019-11-30 20:27:13 +0000
commit4dc63552109f65cebbe168203bd62c5e4c753162 (patch)
tree28d3567fed538ee2bd9e155309cecb30557c5200 /src/interfaces/libpq/exports.txt
parent3ff660bbeb96086cb1cf880bfb4e2e350cbd21b2 (diff)
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(). Craig Ringer and Andrew Dunstan Reviewed by: Greg Nancarrow Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/interfaces/libpq/exports.txt')
-rw-r--r--src/interfaces/libpq/exports.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interfaces/libpq/exports.txt b/src/interfaces/libpq/exports.txt
index ccec59919b2..53f8ee0fc4b 100644
--- a/src/interfaces/libpq/exports.txt
+++ b/src/interfaces/libpq/exports.txt
@@ -176,3 +176,7 @@ PQresultMemorySize 173
PQhostaddr 174
PQgssEncInUse 175
PQgetgssctx 176
+PQsslpassword 177
+PQsetSSLKeyPassHook 178
+PQgetSSLKeyPassHook 179
+PQdefaultSSLKeyPassHook 180