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

Commitf342d7a

Browse files
committed
Only provide openssl_tls_init_hook if building with openssl
This should have been protected by #ifdef USE_OPENSSL in commit896fcdb.Per the real complaint this time from Daniel Gustafsson.
1 parenta9659fb commitf342d7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/include/libpq/libpq-be.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,10 @@ extern char *be_tls_get_certificate_hash(Port *port, size_t *len);
288288
#endif
289289

290290
/* init hook for SSL, the default sets the password callback if appropriate */
291+
#ifdefUSE_OPENSSL
291292
typedefvoid(*openssl_tls_init_hook_typ)(SSL_CTX*context,boolisServerStart);
292293
externPGDLLIMPORTopenssl_tls_init_hook_typopenssl_tls_init_hook;
294+
#endif
293295

294296
#endif/* USE_SSL */
295297

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp