public inbox for [email protected]  
help / color / mirror / Atom feed
pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL
7+ messages / 1 participants
[nested] [flat]

* pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL
@ 2026-07-09 15:51  Heikki Linnakangas <[email protected]>
  0 siblings, 0 replies; 7+ messages in thread

From: Heikki Linnakangas @ 2026-07-09 15:51 UTC (permalink / raw)
  To: [email protected]

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
------
master

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

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL
@ 2026-07-09 15:51  Heikki Linnakangas <[email protected]>
  0 siblings, 0 replies; 7+ messages in thread

From: Heikki Linnakangas @ 2026-07-09 15:51 UTC (permalink / raw)
  To: [email protected]

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_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/536512f34e7a6156188f6ba5c834ab01c911c5ae

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL
@ 2026-07-09 15:51  Heikki Linnakangas <[email protected]>
  0 siblings, 0 replies; 7+ messages in thread

From: Heikki Linnakangas @ 2026-07-09 15:51 UTC (permalink / raw)
  To: [email protected]

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_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/27761c0151b3b9b57e58597fa027a26619c9608e

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL
@ 2026-07-09 15:51  Heikki Linnakangas <[email protected]>
  0 siblings, 0 replies; 7+ messages in thread

From: Heikki Linnakangas @ 2026-07-09 15:51 UTC (permalink / raw)
  To: [email protected]

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_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0958c3ea4c677e9f5900fbdc60458f5b9bb34a06

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL
@ 2026-07-09 15:51  Heikki Linnakangas <[email protected]>
  0 siblings, 0 replies; 7+ messages in thread

From: Heikki Linnakangas @ 2026-07-09 15:51 UTC (permalink / raw)
  To: [email protected]

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_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6243ea6c34ac81ed97d9590f21587462eb50d330

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL
@ 2026-07-09 15:51  Heikki Linnakangas <[email protected]>
  0 siblings, 0 replies; 7+ messages in thread

From: Heikki Linnakangas @ 2026-07-09 15:51 UTC (permalink / raw)
  To: [email protected]

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_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/21a6c69eaadeca5f2bdd46803f2178cc44c4786e

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL
@ 2026-07-09 15:51  Heikki Linnakangas <[email protected]>
  0 siblings, 0 replies; 7+ messages in thread

From: Heikki Linnakangas @ 2026-07-09 15:51 UTC (permalink / raw)
  To: [email protected]

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(+)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2026-07-09 15:51 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-07-09 15:51 pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL Heikki Linnakangas <[email protected]>
2026-07-09 15:51 pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL Heikki Linnakangas <[email protected]>
2026-07-09 15:51 pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL Heikki Linnakangas <[email protected]>
2026-07-09 15:51 pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL Heikki Linnakangas <[email protected]>
2026-07-09 15:51 pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL Heikki Linnakangas <[email protected]>
2026-07-09 15:51 pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL Heikki Linnakangas <[email protected]>
2026-07-09 15:51 pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL Heikki Linnakangas <[email protected]>

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