doc: PQinitOpenSSL and PQinitSSL are obsolete in OpenSSL 1.1.0+
authorDaniel Gustafsson <[email protected]>
Fri, 14 Apr 2023 08:15:50 +0000 (10:15 +0200)
committerDaniel Gustafsson <[email protected]>
Fri, 14 Apr 2023 08:15:50 +0000 (10:15 +0200)
commit928e05ddfd4031c67e101c5e74dbb5c8ec4f9e23
tree0b7d57ac0f11fdf1e9386b3b6d08ac2f399a0dfb
parent12829058c424cba540ac8de33d129d02f8bd3449
doc: PQinitOpenSSL and PQinitSSL are obsolete in OpenSSL 1.1.0+

Starting with OpenSSL 1.1.0 there is no need to call PQinitOpenSSL
or PQinitSSL to avoid duplicate initialization of OpenSSL.  Add a
note to the documentation to explain this.

Backpatch to all supported versions as older OpenSSL versions are
equally likely to be used for all branches.

Reported-by: Sebastien Flaesch <[email protected]>
Reviewed-by: Tom Lane <[email protected]>
Discussion: https://postgr.es/m/DBAP191MB12895BFFEC4B5FE0460D0F2FB0459@DBAP191MB1289.EURP191.PROD.OUTLOOK.COM
Backpatch-through: 11, all supported versions
doc/src/sgml/libpq.sgml