Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9e24109

Browse files
committed
Only provide new libpq sslpasskey hook for openssl-enabled builds
In commit4dc6355 I neglected to put #ifdef USE_OPENSSL around thedeclarations of the new items. This is remedied here.Per complaint from Daniel Gustafsson.
1 parent3125a5b commit9e24109

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/interfaces/libpq/libpq-fe.h

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

622622
/* Support for overriding sslpassword handling with a callback. */
623+
#ifdefUSE_OPENSSL
623624
typedefint (*PQsslKeyPassHook_type)(char*buf,intsize,PGconn*conn);
624625
externPQsslKeyPassHook_typePQgetSSLKeyPassHook(void);
625626
externvoidPQsetSSLKeyPassHook(PQsslKeyPassHook_typehook);
626627
externintPQdefaultSSLKeyPassHook(char*buf,intsize,PGconn*conn);
628+
#endif
627629

628630
#ifdef__cplusplus
629631
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp