Re: lippq client library and openssl initialization: PQinitOpenSSL() - Mailing list pgsql-general

From Daniel Gustafsson
Subject Re: lippq client library and openssl initialization: PQinitOpenSSL()
Date
Msg-id A09060B3-D85E-45BC-A91B-AC49924773CA@yesql.se
Whole thread Raw
In response to Re: lippq client library and openssl initialization: PQinitOpenSSL()  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: lippq client library and openssl initialization: PQinitOpenSSL()
List pgsql-general
> On 12 Sep 2022, at 15:47, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Personally I'd put this up front, more like
>
>   have been initialized by your application, so that
>   <application>libpq</application> will not also initialize those libraries.
> +  However, this is unnecessary when using OpenSSL 1.1.0 or later,
> +  as duplicate initializations are no longer problematic.
>  </para>
>
> If you do use wording that specifically mentions PQinitOpenSSL,
> it should also mention PQinitSSL, just for clarity.

Reviving an old thread that got buried, I propose to apply the attached and
backpatch it as OpenSSL of such vintage is equally likely to be used in old
versions of postgres as current.

--
Daniel Gustafsson


Attachment

pgsql-general by date:

Previous
From: John Howroyd
Date:
Subject: Re: Guidance on INSERT RETURNING order
Next
From: Tom Lane
Date:
Subject: Re: lippq client library and openssl initialization: PQinitOpenSSL()