summaryrefslogtreecommitdiff
path: root/src/transports/winhttp.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2020-09-18 10:31:50 +0200
committerGitHub <noreply@github.com>2020-09-18 10:31:50 +0200
commit9e81711bace51b1d3e233675c85b289743f5fdd7 (patch)
treef9ae90d3823db9d95201c3dacfca5a040a4b07f1 /src/transports/winhttp.c
parentae99e6979b9c2e65c4b9d40f5e32372014fff6a8 (diff)
parent621e501c8b5bdbddce3c4673d1933bca92b268b7 (diff)
downloadlibgit2-9e81711bace51b1d3e233675c85b289743f5fdd7.tar.gz
Merge pull request #5632 from csware/winhttp_typo
Fix typo: Make ifndef macroname the same as the define name
Diffstat (limited to 'src/transports/winhttp.c')
-rw-r--r--src/transports/winhttp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transports/winhttp.c b/src/transports/winhttp.c
index 3fb8fc56d..f9736cd07 100644
--- a/src/transports/winhttp.c
+++ b/src/transports/winhttp.c
@@ -41,11 +41,11 @@
#define WINHTTP_IGNORE_REQUEST_TOTAL_LENGTH 0
#endif
-#ifndef WINHTTP_FLAG_SECURE_PROTOCOL_TLS_1_1
+#ifndef WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_1
# define WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_1 0x00000200
#endif
-#ifndef WINHTTP_FLAG_SECURE_PROTOCOL_TLS_1_2
+#ifndef WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_2
# define WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_2 0x00000800
#endif