Skip to content

Commit e167476

Browse files
authored
Merge pull request libgit2#5929 from jacquesg/winhttp
Define WINHTTP_NO_CLIENT_CERT_CONTEXT if needed
2 parents 416ea5b + a2cd10e commit e167476

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/transports/winhttp.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@
5252
# define WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_3 0x00002000
5353
#endif
5454

55+
#ifndef WINHTTP_NO_CLIENT_CERT_CONTEXT
56+
# define WINHTTP_NO_CLIENT_CERT_CONTEXT NULL
57+
#endif
58+
5559
#ifndef HTTP_STATUS_PERMANENT_REDIRECT
5660
# define HTTP_STATUS_PERMANENT_REDIRECT 308
5761
#endif

0 commit comments

Comments
 (0)