pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add tests for errors during SSL or GSSAPI handshake
Date: Fri, 26 Jul 2024 12:38:54 +0000
Message-ID: <E1sXKDm-001Iy9-1I@gemulon.postgresql.org> (raw)

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.g...

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(+)



Message-ID: <E1sXKDm-001Iy9-1I@gemulon.postgresql.org>
Permalink:  ../E1sXKDm-001Iy9-1I@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sXKDm-001Iy9-1I@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add tests for errors during SSL or GSSAPI handshake
  In-Reply-To: <E1sXKDm-001Iy9-1I@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox