Fix macro placement in pg_config.h.in
authorDaniel Gustafsson <[email protected]>
Fri, 26 Jul 2024 12:16:40 +0000 (14:16 +0200)
committerDaniel Gustafsson <[email protected]>
Fri, 26 Jul 2024 12:16:40 +0000 (14:16 +0200)
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 <[email protected]>
Discussion: https://postgr.es/m/48cebe8c3eaf308bae253b1dbf4e4a75@postgrespro.ru
Backpatch-through: v12

src/include/pg_config.h.in

index e7f6fe164a121d475b82e1a93109c57511443db2..c876033f9da3a31aeba0ba02da6eb4f7e18c2c5e 100644 (file)
 /* 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
 
 /* 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