Skip to content

Commit ddd66a6

Browse files
Fix building with MSVC for TLS session disabling
Commit 274bbce 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
1 parent 51c1b4f commit ddd66a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/msvc/Solution.pm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ sub GenerateFiles
363363
HAVE_SETSID => undef,
364364
HAVE_SHM_OPEN => undef,
365365
HAVE_SPINLOCKS => 1,
366+
HAVE_SSL_CTX_SET_NUM_TICKETS => undef,
366367
HAVE_SRANDOM => undef,
367368
HAVE_STDBOOL_H => 1,
368369
HAVE_STDINT_H => 1,
@@ -554,6 +555,7 @@ sub GenerateFiles
554555
|| ($digit1 >= '1' && $digit2 >= '1' && $digit3 >= '1'))
555556
{
556557
$define{HAVE_X509_GET_SIGNATURE_INFO} = 1;
558+
$define{HAVE_SSL_CTX_SET_NUM_TICKETS} = 1;
557559
}
558560

559561
# Symbols needed with OpenSSL 1.1.0 and above.

0 commit comments

Comments
 (0)