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 <[email protected]>
Discussion: 
https://postgr.es/m/cahgqgwgpjenxx1smkprv9rb-fnij8jn4ginobmstnwxqros...@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(-)

Reply via email to