Skip to content

Commit 51221e7

Browse files
committed
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 <[email protected]>
1 parent 76de159 commit 51221e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

http.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,10 @@ static int http_options(const char *var, const char *value, void *cb)
240240
if (!strcmp("http.sslversion", var))
241241
return git_config_string(&ssl_version, var, value);
242242
if (!strcmp("http.sslcert", var))
243-
return git_config_string(&ssl_cert, var, value);
243+
return git_config_pathname(&ssl_cert, var, value);
244244
#if LIBCURL_VERSION_NUM >= 0x070903
245245
if (!strcmp("http.sslkey", var))
246-
return git_config_string(&ssl_key, var, value);
246+
return git_config_pathname(&ssl_key, var, value);
247247
#endif
248248
#if LIBCURL_VERSION_NUM >= 0x070908
249249
if (!strcmp("http.sslcapath", var))

0 commit comments

Comments
 (0)