Simplify code related to compilation of SSL and OpenSSL
authorMichael Paquier <michael@paquier.xyz>
Wed, 10 Feb 2021 06:28:19 +0000 (15:28 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 10 Feb 2021 06:28:19 +0000 (15:28 +0900)
commit092b785fad3de3f81355a4b2420aa39a1bc0ccd5
treea9aef301a347f5cae184645dc5877ecf7e86e679
parentbd12080980297dbc8ae926a3bd5b2ef9cc47932b
Simplify code related to compilation of SSL and OpenSSL

This commit makes more generic some comments and code related to the
compilation with OpenSSL and SSL in general to ease the addition of more
SSL implementations in the future.  In libpq, some OpenSSL-only code is
moved under USE_OPENSSL and not USE_SSL.

While on it, make a comment more consistent in libpq-fe.h.

Author: Daniel Gustafsson
Discussion: https://postgr.es/m/5382CB4A-9CF3-4145-BA46-C802615935E0@yesql.se
src/backend/libpq/hba.c
src/include/libpq/libpq-be.h
src/include/pg_config_manual.h
src/interfaces/libpq/fe-secure.c
src/interfaces/libpq/libpq-fe.h