postgres.git / summary / log / commit / refs

commit    36f49be80856ee46a5ff39c5dc8a7418df63be3d
Author:   Daniel Gustafsson <dgustafsson@postgresql.org>
Date:     Fri Apr 14 08:15:50 2023 +0000
First released in: 16.0, 11.20, 12.15, 13.11, 14.8, 15.3

    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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 72a032eec23..72150c57cc0 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -8003,6 +8003,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> [parent: 6848f0c67c60]