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
This commit is contained in:
Daniel Gustafsson 2024-07-26 19:10:37 +02:00
parent ac77add23b
commit e6dd0b8637
2 changed files with 4 additions and 0 deletions

View File

@ -389,6 +389,9 @@
/* Define to 1 if you have the `SSL_clear_options' function. */
#define HAVE_SSL_CLEAR_OPTIONS 1
/* 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. */
#define HAVE_SSL_GET_CURRENT_COMPRESSION 1

View File

@ -266,6 +266,7 @@ sub GenerateFiles
|| ($digit1 >= '1' && $digit2 >= '1' && $digit3 >= '1'))
{
print $o "#define HAVE_X509_GET_SIGNATURE_INFO 1\n";
print $o "#define HAVE_SSL_CTX_SET_NUM_TICKETS 1\n";
}
# Symbols needed with OpenSSL 1.1.0 and above.