OpenSSL deprectation warnings in Postgres 10-13 - Mailing list pgsql-hackers

From Victor Wagner
Subject OpenSSL deprectation warnings in Postgres 10-13
Date
Msg-id 20220406125514.644fc4f2@wagner.wagner.home
Whole thread Raw
Responses Re: OpenSSL deprectation warnings in Postgres 10-13  (Daniel Gustafsson <daniel@yesql.se>)
Re: OpenSSL deprectation warnings in Postgres 10-13  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-hackers
Collegues!

I've tried to build all supported versions of PostgresSQL in the Ubuntu
22.04 which is soon to be released.

And found out that versions 10-13 produce a lot of warnings about
deprecated OpenSSL functions.

I've found discussion about  this problem 


https://www.postgresql.org/message-id/flat/FEF81714-D479-4512-839B-C769D2605F8A%40yesql.se

and commit 4d3db13621be64fbac2faf which fixes problem in the 14
version and above. (it seems to me that declaring wish to use outdated
API is ugly workaround, but anyway it works)

But this commit seems not to be backpatched to versions 13-10.
In 2020 it probably haven't be a problem,  as OpenSSL 3.0.0 was in
alpha stage, but this month first mainline Linux distribution which uses
openssl 3.0.x is going to be released.

It seems that we need to backpatch this commit into all supported
versions of PostgreSQL, because there are more and more distributions
switched to OpenSSL 3.0.x. Apart from Ubuntu I can see at least RH 9
beta and experimental packages for Debian which probably would be ready
in time for Debian 12.

-- 
                                   Victor Wagner <vitus@wagner.pp.ru>



pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: shared-memory based stats collector - v70
Next
From: John Naylor
Date:
Subject: Re: A qsort template