Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62c462c commit 070822dCopy full SHA for 070822d
src/transports/winhttp.c
@@ -40,6 +40,19 @@
40
#define WINHTTP_IGNORE_REQUEST_TOTAL_LENGTH 0
41
#endif
42
43
+/* Missing in MinGW */
44
+#ifndef WINHTTP_FLAG_SECURE_PROTOCOL_TLS1
45
+#define WINHTTP_FLAG_SECURE_PROTOCOL_TLS1 0x00000080
46
+#endif
47
+
48
+#ifndef WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_1
49
+#define WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_1 0x00000200
50
51
52
+#ifndef WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_2
53
+#define WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_2 0x00000800
54
55
56
static const char *prefix_https = "https://";
57
static const char *upload_pack_service = "upload-pack";
58
static const char *upload_pack_ls_service_url = "/info/refs?service=git-upload-pack";
0 commit comments