Small cleanup of leftover pre-1.1.0 OpenSSL code

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Small cleanup of leftover pre-1.1.0 OpenSSL code
Date: 2026-11-25 02:36:29
Message-ID: 05950496-e557-42d4-a865-c578a5231930@proxel.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

While reviewing another patch I found this small leftover from before we
bumped the OpenSSL version requirement to 1.1.0. As the
SSL_AD_NO_APPLICATION_PROTOCOL define was introduced in OpenSSL 1.1.0
and in LibreSSL 3.4.0 (not 3.4.3 as the comment I remove implies) we no
longer have to check if it is defined and we can therefore very slightly
simplify our code.

--
Andreas Karlsson
Percona

Attachment Content-Type Size
v1-0001-Remove-backwards-compatibility-ifdef-for-SSL_AD_N.patch text/x-patch 1.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zhijie Hou 2026-11-25 02:52:22 Re: Fix LogStandbySnapshot() race during logical decoding activation
Previous Message Tom Lane 2026-11-25 02:31:48 Re: passwordcheck: Make the user name check case-insensitive