Add tests for errors during SSL or GSSAPI handshake
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/be-secure.c | modified | +3 −0 |
| src/backend/libpq/be-secure-gssapi.c | modified | +3 −0 |
| src/interfaces/libpq/t/005_negotiate_encryption.pl | modified | +20 −0 |
Discussion
- Direct SSL connection and ALPN loose ends 18 messages · 2024-04-29 → 2024-07-26