public inbox for [email protected]  
help / color / mirror / Atom feed
From: Heikki Linnakangas <[email protected]>
To: [email protected]
Subject: pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL
Date: Thu, 09 Jul 2026 15:51:22 +0000
Message-ID: <[email protected]> (raw)

ssl: Include limits.h to get INT_MAX when using LibreSSL

When compiling against OpenSSL, the <limits.h> header is indirectly
included via openssl/ossl_typ.h from openssl/conf.h, but the LibreSSL
version of ossl_typ.h does not include <limits.h> which cause compiler
failure due to missing symbol (since ffd080d94fe).  Fix by explicitly
including <limits.h>.

Author: Daniel Gustafsson <[email protected]>
Discussion: https://www.postgresql.org/message-id/[email protected]
Backpatch-through: 14

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f5f569713b871ca6771e6fbaf5d4de16d4df1728

Modified Files
--------------
src/interfaces/libpq/fe-secure-openssl.c | 1 +
1 file changed, 1 insertion(+)



view thread (7+ messages)

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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL
  In-Reply-To: <[email protected]>

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

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