Fix check for 'outlen' return from SSL_select_next_proto()
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 8 Apr 2024 02:03:17 +0000 (05:03 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 8 Apr 2024 02:03:17 +0000 (05:03 +0300)
commit3e60e956b0017ae9d329bf242e76c4487fb39b4d
tree7ddf02c4367e76b9b24a4fa867a03f1578553776
parentd60ab76f630921dc4deb958fb7892ef6b0e4a7ee
Fix check for 'outlen' return from SSL_select_next_proto()

Fixes compiler warning reported by Andres Freund.

Discusssion: https://www.postgresql.org/message-id/20240408015055.xsuahullywpfwyvu@awork3.anarazel.de
src/backend/libpq/be-secure-openssl.c