]> git.ipfire.org Git - thirdparty/postgresql.git/commit
doc: PQinitOpenSSL and PQinitSSL are obsolete in OpenSSL 1.1.0+
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 14 Apr 2023 08:15:50 +0000 (10:15 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 14 Apr 2023 08:42:51 +0000 (10:42 +0200)
commit36f49be80856ee46a5ff39c5dc8a7418df63be3d
tree09ef41e0a7096c3dae12f1152efd39aac1e34b2b
parent6848f0c67c60dc721c4e4527778f83e2c8c08d01
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 <sebastien.flaesch@4js.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/DBAP191MB12895BFFEC4B5FE0460D0F2FB0459@DBAP191MB1289.EURP191.PROD.OUTLOOK.COM
Backpatch-through: 11, all supported versions
doc/src/sgml/libpq.sgml