Fix building with MSVC for TLS session disabling
authorDaniel Gustafsson <[email protected]>
Fri, 26 Jul 2024 17:10:12 +0000 (19:10 +0200)
committerDaniel Gustafsson <[email protected]>
Fri, 26 Jul 2024 17:10:12 +0000 (19:10 +0200)
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

src/tools/msvc/Solution.pm

index e88e3967cd02fef76773f44f8fa687d6447765fc..6f9f39fa48aab99c6ec63038d0da1c3122cf3cb6 100644 (file)
@@ -352,6 +352,7 @@ sub GenerateFiles
        HAVE_SETSID                              => undef,
        HAVE_SHM_OPEN                            => undef,
        HAVE_SPINLOCKS                           => 1,
+       HAVE_SSL_CTX_SET_NUM_TICKETS             => undef,
        HAVE_SRANDOM                             => undef,
        HAVE_STDBOOL_H                           => 1,
        HAVE_STDINT_H                            => 1,
@@ -535,6 +536,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.