summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2024-07-26 16:29:52 +0200
committerDaniel Gustafsson <dgustafsson@postgresql.org>2024-07-26 16:29:52 +0200
commit441eba34dfc573f79c17501cc85c095bf300b8e3 (patch)
tree50d47e801ad898482f75dadc5dd207f7d1c5b207
parent83b4a6358b0a1f2637872340fd072b3c42258747 (diff)
Fix building with MSVC for TLS session disabling
Commit 274bbced85 omitted the required changes for the MSVC build system in v16 through v12. Per buildfarm animal hamerkop. Discussion: https://postgr.es/m/7919238F-723C-4113-9742-EBCE7A76A6B4@yesql.se
-rw-r--r--src/tools/msvc/Solution.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm
index 711fae853f8..2a4c4f35566 100644
--- a/src/tools/msvc/Solution.pm
+++ b/src/tools/msvc/Solution.pm
@@ -329,6 +329,7 @@ sub GenerateFiles
HAVE_SOCKLEN_T => 1,
HAVE_SPINLOCKS => 1,
HAVE_SSL_CTX_SET_CERT_CB => undef,
+ HAVE_SSL_CTX_SET_NUM_TICKETS => undef,
HAVE_STDBOOL_H => 1,
HAVE_STDINT_H => 1,
HAVE_STDLIB_H => 1,
@@ -495,6 +496,7 @@ sub GenerateFiles
|| ($digit1 >= '1' && $digit2 >= '1' && $digit3 >= '1'))
{
$define{HAVE_X509_GET_SIGNATURE_INFO} = 1;
+ $define{HAVE_SSL_CTX_SET_NUM_TICKETS} = 1;
}
# Symbols needed with OpenSSL 1.1.0 and above.