From 77c6b629997efcd01145231fca8b2f661a25473b Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Fri, 11 Dec 2015 07:00:48 +0100 Subject: [PATCH] http: also treat config options sslCert and sslKey as paths This is a companion patch to bf9acba (http: treat config options sslCAPath and sslCAInfo as paths, 2015-11-23). Signed-off-by: Johannes Schindelin --- http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http.c b/http.c index d2e11ec6f0..63a1db365b 100644 --- a/http.c +++ b/http.c @@ -271,10 +271,10 @@ static int http_options(const char *var, const char *value, void *cb) if (!strcmp("http.sslversion", var)) return git_config_string(&ssl_version, var, value); if (!strcmp("http.sslcert", var)) - return git_config_string(&ssl_cert, var, value); + return git_config_pathname(&ssl_cert, var, value); #if LIBCURL_VERSION_NUM >= 0x070903 if (!strcmp("http.sslkey", var)) - return git_config_string(&ssl_key, var, value); + return git_config_pathname(&ssl_key, var, value); #endif #if LIBCURL_VERSION_NUM >= 0x070908 if (!strcmp("http.sslcapath", var))