Skip to content
Permalink
Browse files

fixup! add support for disabling SSL revocation checks in cURL

When comparing config keys, the key has been downcased already. So we
have to compare it to an all-lowercase string. The buggy code has been
identified by an unnamed colleague of Manuel Riezebosch.

This fixes #1531

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information...
dscho committed May 15, 2018
1 parent 05ca542 commit 06671f4dd83401168ce455e430e9741cc355093a
Showing with 1 addition and 1 deletion.
  1. +1 −1 http.c
2 http.c
@@ -308,7 +308,7 @@ static int http_options(const char *var, const char *value, void *cb)
return 0;
}

if (!strcmp("http.schannel.checkRevoke", var)) {
if (!strcmp("http.schannel.checkrevoke", var)) {
http_schannel_check_revoke = git_config_bool(var, value);
return 0;
}

0 comments on commit 06671f4

Please sign in to comment.
You can’t perform that action at this time.