Re: TLS checking in pgstat

2020-07-07 Thread Magnus Hagander
On Sun, Jun 28, 2020 at 1:39 PM Daniel Gustafsson wrote: > As I mentioned in [1], checking (struct Port)->ssl for NULL to determine > whether TLS is used for connection is a bit of a leaky abstraction, as > that's > an OpenSSL specific struct member. This sets the requirement that all TLS > impl

TLS checking in pgstat

2020-06-28 Thread Daniel Gustafsson
As I mentioned in [1], checking (struct Port)->ssl for NULL to determine whether TLS is used for connection is a bit of a leaky abstraction, as that's an OpenSSL specific struct member. This sets the requirement that all TLS implementations use a pointer named SSL, and that the pointer is set to N