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

Appearance settings

Commit 084cae5

Browse filesBrowse files
committed
Fix compilation with --with-gssapi --without-openssl
The #define is spelled ENABLE_GSS, not USE_GSS. Introduced in commit 05fd30c, reported by Thomas Munro. Discussion: https://www.postgresql.org/message-id/CA%2BhUKG%2BHRTtB%2Bx%2BKKKj_cfX6sNhbeGuqmGxjGMwdVPG7YGFP8w@mail.gmail.com
1 parent 0a5f229 commit 084cae5
Copy full SHA for 084cae5

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/interfaces/libpq/fe-connect.c

Copy file name to clipboardExpand all lines: src/interfaces/libpq/fe-connect.c
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ static const char short_uri_designator[] = "postgres://";
393393

394394
static bool connectOptions1(PGconn *conn, const char *conninfo);
395395
static bool init_allowed_encryption_methods(PGconn *conn);
396-
#if defined(USE_SSL) || defined(USE_GSS)
396+
#if defined(USE_SSL) || defined(ENABLE_GSS)
397397
static int encryption_negotiation_failed(PGconn *conn);
398398
#endif
399399
static bool connection_failed(PGconn *conn);
@@ -4318,7 +4318,7 @@ init_allowed_encryption_methods(PGconn *conn)
43184318
*
43194319
* conn->current_enc_method is updated to the next method to try.
43204320
*/
4321-
#if defined(USE_SSL) || defined(USE_GSS)
4321+
#if defined(USE_SSL) || defined(ENABLE_GSS)
43224322
static int
43234323
encryption_negotiation_failed(PGconn *conn)
43244324
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.