Skip to content

Commit 6741cfa

Browse files
committed
Revert "Only provide new libpq sslpasskey hook for openssl-enabled builds"
This reverts commit 9e24109. This caused build errors when building without openssl, and it's simplest just to revert it.
1 parent f342d7a commit 6741cfa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/interfaces/libpq/libpq-fe.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,12 +620,10 @@ extern int pg_valid_server_encoding_id(int encoding);
620620
/* == in fe-secure-openssl.c === */
621621

622622
/* Support for overriding sslpassword handling with a callback. */
623-
#ifdef USE_OPENSSL
624623
typedef int (*PQsslKeyPassHook_type)(char *buf, int size, PGconn *conn);
625624
extern PQsslKeyPassHook_type PQgetSSLKeyPassHook(void);
626625
extern void PQsetSSLKeyPassHook(PQsslKeyPassHook_type hook);
627626
extern int PQdefaultSSLKeyPassHook(char *buf, int size, PGconn *conn);
628-
#endif
629627

630628
#ifdef __cplusplus
631629
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy