From ac77add23b8141ed5f45d68bba129710e86c0a08 Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Fri, 26 Jul 2024 14:16:40 +0200 Subject: [PATCH] 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 --- src/include/pg_config.h.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index e7f6fe164a1..c876033f9da 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -513,6 +513,9 @@ /* Define to 1 if you have SSL_clear_options() */ #undef HAVE_SSL_CLEAR_OPTIONS +/* Define to 1 if you have the `SSL_CTX_set_num_tickets' function. */ +#undef HAVE_SSL_CTX_SET_NUM_TICKETS + /* Define to 1 if you have the `SSL_get_current_compression' function. */ #undef HAVE_SSL_GET_CURRENT_COMPRESSION @@ -736,9 +739,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 -- 2.39.5