Content-Length: 265354 | pFad | http://github.com/postgrespro/postgres_cluster/commit/6741cfa5964768279a13e01e46931664fe0903a4

4B Revert "Only provide new libpq sslpasskey hook for openssl-enabled bu… · postgrespro/postgres_cluster@6741cfa · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/6741cfa5964768279a13e01e46931664fe0903a4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy