pgsql: doc: PQinitOpenSSL and PQinitSSL are obsolete in OpenSSL 1.1.0+

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: PQinitOpenSSL and PQinitSSL are obsolete in OpenSSL 1.1.0+
Date: 2023-04-14 09:06:47
Message-ID: E1pnFOI-0030Sf-39@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)flaesch(at)4js(dot)com>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/DBAP191MB12895BFFEC4B5FE0460D0F2FB0459@DBAP191MB1289.EURP191.PROD.OUTLOOK.COM
Backpatch-through: 11, all supported versions

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ea7894d33d174c2fb76ad838cf9a7a17d604a950

Modified Files
--------------
doc/src/sgml/libpq.sgml | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-04-14 17:32:06 pgsql: NULL is not an ideal way to spell bool "false".
Previous Message Daniel Gustafsson 2023-04-14 09:06:35 pgsql: doc: PQinitOpenSSL and PQinitSSL are obsolete in OpenSSL 1.1.0+