Commit 6741cfa5 authored by Andrew Dunstan's avatar Andrew Dunstan

Revert "Only provide new libpq sslpasskey hook for openssl-enabled builds"

This reverts commit 9e24109f.

This caused build errors when building without openssl, and it's
simplest just to revert it.
parent f342d7ad
......@@ -620,12 +620,10 @@ extern int pg_valid_server_encoding_id(int encoding);
/* == in fe-secure-openssl.c === */
/* Support for overriding sslpassword handling with a callback. */
#ifdef USE_OPENSSL
typedef int (*PQsslKeyPassHook_type)(char *buf, int size, PGconn *conn);
extern PQsslKeyPassHook_type PQgetSSLKeyPassHook(void);
extern void PQsetSSLKeyPassHook(PQsslKeyPassHook_type hook);
extern int PQdefaultSSLKeyPassHook(char *buf, int size, PGconn *conn);
#endif
#ifdef __cplusplus
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment