Commit a2cd10e52b1f8ef77946129448b33128cd01e984

Jacques Germishuys 2021-06-26T18:52:21

define WINHTTP_NO_CLIENT_CERT_CONTEXT if needed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/transports/winhttp.c b/src/transports/winhttp.c
index 97ceab2..d21c506 100644
--- a/src/transports/winhttp.c
+++ b/src/transports/winhttp.c
@@ -52,6 +52,10 @@
 # define WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_3 0x00002000
 #endif
 
+#ifndef WINHTTP_NO_CLIENT_CERT_CONTEXT
+# define WINHTTP_NO_CLIENT_CERT_CONTEXT NULL
+#endif
+
 #ifndef HTTP_STATUS_PERMANENT_REDIRECT
 # define HTTP_STATUS_PERMANENT_REDIRECT 308
 #endif