pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix thinko in error of algorithm type lookup for channel binding
Date: Fri, 14 Aug 2026 00:57:25 +0000
Message-ID: <E1wugEe-00000000Tvu-112a@gemulon.postgresql.org> (raw)

Fix thinko in error of algorithm type lookup for channel binding

The error printed would always use a NULL value, due to OBJ_nid2sn()
known to fail.  This updates the error message to use the algorithm
number instead.

Oversight in 28995f051e72, in the shape of copy-pasto failure.

Reported-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/CAHGQGwGPjENxX1SmkPrv9Rb-Fnij8jN4ginObmSTnWXqROS2+g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1f97b252dfee27b6300959b8403a4a9a2003046e

Modified Files
--------------
src/backend/libpq/be-secure-openssl.c    | 4 ++--
src/interfaces/libpq/fe-secure-openssl.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)



Message-ID: <E1wugEe-00000000Tvu-112a@gemulon.postgresql.org>
Permalink:  ../E1wugEe-00000000Tvu-112a@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wugEe-00000000Tvu-112a@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix thinko in error of algorithm type lookup for channel binding
  In-Reply-To: <E1wugEe-00000000Tvu-112a@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox