pgsql: Fix check for 'outlen' return from SSL_select_next_proto()

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix check for 'outlen' return from SSL_select_next_proto()
Date: 2024-04-08 02:06:36
Message-ID: E1rteP6-0013WV-7g@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3e60e956b0017ae9d329bf242e76c4487fb39b4d

Modified Files
--------------
src/backend/libpq/be-secure-openssl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2024-04-08 02:06:38 Re: pgsql: Send ALPN in TLS handshake, require it in direct SSL connections
Previous Message Andres Freund 2024-04-08 01:50:55 Re: pgsql: Send ALPN in TLS handshake, require it in direct SSL connections