diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2025-05-09 12:24:25 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2025-05-09 12:24:25 -0400 |
commit | 00811a96ac45dc11cf2e144927b5c75645454d28 (patch) | |
tree | d84ea1054794fef078c823517653a1d89a81191b /src | |
parent | 1ddb9e14eadf95802c835a3754af5621615ded30 (diff) |
Ooops ... add required configure support.
The previous commit assumed we have a configure probe for
SSL_CTX_set_cert_cb. v15 lacks that, so add it now.
(Details borrowed from 36f40ce2d.)
Reported-by: Thomas Munro <thomas.munro@gmail.com>
Author: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CA+hUKG+fLqyweHqFSBcErueUVT0vDuSNWui-ySz3+d_APmq7dw@mail.gmail.com
Backpatch-through: 15 only
Diffstat (limited to 'src')
-rw-r--r-- | src/include/pg_config.h.in | 3 | ||||
-rw-r--r-- | src/tools/msvc/Solution.pm | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index 5ec240d59a5..6d5e1820c9d 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -515,6 +515,9 @@ /* Define to 1 if you have spinlocks. */ #undef HAVE_SPINLOCKS +/* Define to 1 if you have the `SSL_CTX_set_cert_cb' function. */ +#undef HAVE_SSL_CTX_SET_CERT_CB + /* Define to 1 if you have the `SSL_CTX_set_num_tickets' function. */ #undef HAVE_SSL_CTX_SET_NUM_TICKETS diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index d92bbbaf7db..6db8a10265f 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -364,6 +364,7 @@ sub GenerateFiles HAVE_SHM_OPEN => undef, HAVE_SOCKLEN_T => 1, HAVE_SPINLOCKS => 1, + HAVE_SSL_CTX_SET_CERT_CB => 1, HAVE_SSL_CTX_SET_NUM_TICKETS => undef, HAVE_STDINT_H => 1, HAVE_STDLIB_H => 1, |