Re: Fix error handling in be_tls_open_server()

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Sergey Shinderuk <s.shinderuk@postgrespro.ru>
Cc: Michael Paquier <michael@paquier.xyz>, Jacob Champion <jchampion@timescale.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2023-09-22T09:43:29Z
Lists: pgsql-hackers
> On 20 Sep 2023, at 10:58, Daniel Gustafsson <daniel@yesql.se> wrote:
>> On 20 Sep 2023, at 10:55, Sergey Shinderuk <s.shinderuk@postgrespro.ru> wrote:

>> There is a typo: upon en error. Otherwise, looks good to me. Thank you.
> 
> Thanks, will fix before pushing.

I've applied this down to v15 now and the buildfarm have green builds on all
three branches, thanks for the submission!

--
Daniel Gustafsson




Commits

  1. Avoid potential pfree on NULL on OpenSSL errors