Re: [PATCH] Avoid mixing custom and OpenSSL BIO functions

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: David Benjamin <davidben@google.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Andres Freund <andres@anarazel.de>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>, Peter Eisentraut <peter@eisentraut.org>
Date: 2024-09-03T12:18:07Z
Lists: pgsql-hackers

Attachments

> On 19 May 2024, at 22:32, Daniel Gustafsson <daniel@yesql.se> wrote:
> 
>> On 19 May 2024, at 22:21, Peter Eisentraut <peter@eisentraut.org> wrote:
> 
>> Whoever commits these should be sure to coordinate this.
> 
> Thanks for the reminder.  I have this patchset, the OCSP stapling patchset and
> the multiple-cert one on my radar for when I do the 1.1.0 removal work in the
> July CF. Will do another scan for SSL related patches in flight at the time.

Attached is a v4 rebase over the recent OpenSSL 1.0.2 removal which made this
patch no longer apply.  I've just started to dig into it so have no comments on
it right now, but wanted to get a cleaned up version into the CFBot.

--
Daniel Gustafsson

Commits

  1. Avoid mixing custom and OpenSSL BIO functions

  2. Use BIO_{get,set}_app_data instead of BIO_{get,set}_data.