diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-04-12 19:52:34 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-04-12 19:52:34 +0300 |
commit | 084cae55131f71f32e15a6b2b7897aa1c7382c0a (patch) | |
tree | a8b54b2187c9f53098e15a90d39dcb2cadefef3a | |
parent | 0a5f2291891ffca96ccd3ef29c9c1541a9277970 (diff) | |
download | postgresql-084cae55131f71f32e15a6b2b7897aa1c7382c0a.tar.gz postgresql-084cae55131f71f32e15a6b2b7897aa1c7382c0a.zip |
Fix compilation with --with-gssapi --without-openssl
The #define is spelled ENABLE_GSS, not USE_GSS. Introduced in commit
05fd30c0e7, reported by Thomas Munro.
Discussion: https://www.postgresql.org/message-id/CA%2BhUKG%2BHRTtB%2Bx%2BKKKj_cfX6sNhbeGuqmGxjGMwdVPG7YGFP8w@mail.gmail.com
-rw-r--r-- | src/interfaces/libpq/fe-connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index e35bdc40361..bb66d71cc46 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -393,7 +393,7 @@ static const char short_uri_designator[] = "postgres://"; static bool connectOptions1(PGconn *conn, const char *conninfo); static bool init_allowed_encryption_methods(PGconn *conn); -#if defined(USE_SSL) || defined(USE_GSS) +#if defined(USE_SSL) || defined(ENABLE_GSS) static int encryption_negotiation_failed(PGconn *conn); #endif static bool connection_failed(PGconn *conn); @@ -4318,7 +4318,7 @@ init_allowed_encryption_methods(PGconn *conn) * * conn->current_enc_method is updated to the next method to try. */ -#if defined(USE_SSL) || defined(USE_GSS) +#if defined(USE_SSL) || defined(ENABLE_GSS) static int encryption_negotiation_failed(PGconn *conn) { |