Question about error message in auth.c

From: Dave Cramer <davecramer(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Question about error message in auth.c
Date: 2023-05-24 18:12:23
Message-ID: CADK3HH+YyMXN0XJoXB48t9ixqNVX05fJH-hHp6_JmEFNa=gFqQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greetings,

In
https://github.com/postgres/postgres/blob/5c2c59ba0b5f723b067a6fa8bf8452d41fbb2125/src/backend/libpq/auth.c#L463

The last piece of information is the encryption state. However when an SSL
connection fails to authenticate the state is not encrypted.

When would it ever be encrypted if authentication fails ?

Dave Cramer

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2023-05-24 18:14:08 Re: memory leak in trigger handling (since PG12)
Previous Message Tomas Vondra 2023-05-24 17:45:34 Re: memory leak in trigger handling (since PG12)