Skip to content

Commit

Permalink
fixup! add support for disabling SSL revocation checks in cURL
Browse files Browse the repository at this point in the history
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 06671f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http.c
Expand Up @@ -308,7 +308,7 @@ static int http_options(const char *var, const char *value, void *cb)
return 0; return 0;
} }


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

0 comments on commit 06671f4

Please sign in to comment.