pgsql: Add tests for errors during SSL or GSSAPI handshake - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Add tests for errors during SSL or GSSAPI handshake
Date
Msg-id E1sXKDm-001Iy9-1I@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add tests for errors during SSL or GSSAPI handshake

These test that libpq correctly falls back to a plaintext connection
on handshake error, in the "prefer" modes.

Reviewed-by: Michael Paquier
Discussion:
https://www.postgresql.org/message-id/CAOYmi%2Bnwvu21mJ4DYKUa98HdfM_KZJi7B1MhyXtnsyOO-PB6Ww%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ef7fa900fb587cbaac9f3e943f789155b97aa02b

Modified Files
--------------
src/backend/libpq/be-secure-gssapi.c               |  3 +++
src/backend/libpq/be-secure.c                      |  3 +++
src/interfaces/libpq/t/005_negotiate_encryption.pl | 20 ++++++++++++++++++++
3 files changed, 26 insertions(+)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix fallback behavior when server sends an ERROR early at startu
Next
From: Peter Eisentraut
Date:
Subject: pgsql: pg_createsubscriber: Message style improvements