aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/interfaces/libpq/fe-secure.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c
index e55b375c516..994605d0be4 100644
--- a/src/interfaces/libpq/fe-secure.c
+++ b/src/interfaces/libpq/fe-secure.c
@@ -432,6 +432,24 @@ PQsslAttributeNames(PGconn *conn)
return result;
}
+
+PQsslKeyPassHook_type
+PQgetSSLKeyPassHook(void)
+{
+ return NULL;
+}
+
+void
+PQsetSSLKeyPassHook(PQsslKeyPassHook_type hook)
+{
+ return;
+}
+
+int
+PQdefaultSSLKeyPassHook(char *buf, int size, PGconn *conn)
+{
+ return 0;
+}
#endif /* USE_SSL */
/* Dummy version of GSSAPI information functions, when built without GSS support */