Refactor check for SSL connection
authorDaniel Gustafsson <daniel@yesql.se>
Tue, 16 Feb 2021 15:01:08 +0000 (16:01 +0100)
committerHiroshi Inoue <h-inoue@dream.email.ne.jp>
Thu, 18 Feb 2021 09:49:36 +0000 (18:49 +0900)
commit4eaa430e3ef06162a5655dc7baff9be40f2e1cce
treee9fb0dd1d85f8e596c35fe127ad7c9b016337590
parentcf54d78cfe7a72c68fa5c5002dfb89df1a5180ee
Refactor check for SSL connection

PQgetssl has been discouraged from use since postgres 9.5 since it
will risk false negatives if postgres supports other TLS libraries
than OpenSSL. Refactor to use PQsslInUse which has been available
since 9.5 for just this purpose.
configure.ac
connection.c