From: Daniel Gustafsson Date: Fri, 26 Jul 2024 12:16:40 +0000 (+0200) Subject: Fix macro placement in pg_config.h.in X-Git-Tag: REL_14_13~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=51c1b4fd1579b7a410c53c193ac4e20730cbdbc5;p=thirdparty%2Fpostgresql.git Fix macro placement in pg_config.h.in Commit 274bbced85383e831dde accidentally placed the pg_config.h.in for SSL_CTX_set_num_tickets on the wrong line wrt where autoheader places it. Fix by re-arranging and backpatch to the same level as the original commit. Reported-by: Marina Polyakova Discussion: https://postgr.es/m/48cebe8c3eaf308bae253b1dbf4e4a75@postgrespro.ru Backpatch-through: v12 --- diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index 6c1c4916d7f..99e37318138 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -514,6 +514,9 @@ /* Define to 1 if you have the `srandom' function. */ #undef HAVE_SRANDOM +/* Define to 1 if you have the `SSL_CTX_set_num_tickets' function. */ +#undef HAVE_SSL_CTX_SET_NUM_TICKETS + /* Define to 1 if stdbool.h conforms to C99. */ #undef HAVE_STDBOOL_H @@ -724,9 +727,6 @@ /* Define to 1 if you have the `X509_get_signature_nid' function. */ #undef HAVE_X509_GET_SIGNATURE_NID -/* Define to 1 if you have the `SSL_CTX_set_num_tickets' function. */ -#undef HAVE_SSL_CTX_SET_NUM_TICKETS - /* Define to 1 if the assembler supports X86_64's POPCNTQ instruction. */ #undef HAVE_X86_64_POPCNTQ