aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2023-04-14 10:15:50 +0200
committerDaniel Gustafsson <dgustafsson@postgresql.org>2023-04-14 10:43:19 +0200
commite76fbcf796d6167df83ca7ba13df93fa5f39b380 (patch)
tree58be9879ae718f5c3904973831d7ac7dbd01c027
parent0b2e77ce288d4339836ef3c920c877352b218873 (diff)
downloadpostgresql-e76fbcf796d6167df83ca7ba13df93fa5f39b380.tar.gz
postgresql-e76fbcf796d6167df83ca7ba13df93fa5f39b380.zip
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
-rw-r--r--doc/src/sgml/libpq.sgml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 379a29c0671..1788bb06e03 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -8312,6 +8312,8 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
that the <literal>libssl</literal> and/or <literal>libcrypto</literal> libraries
have been initialized by your application, so that
<application>libpq</application> will not also initialize those libraries.
+ However, this is unnecessary when using <productname>OpenSSL</productname>
+ version 1.1.0 or later, as duplicate initializations are no longer problematic.
</para>
<para>