Skip to content

Commit 92f061a

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 01a9b84 commit 92f061a

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
@@ -207,10 +207,10 @@ static int http_options(const char *var, const char *value, void *cb)
207207
if (!strcmp("http.sslversion", var))
208208
return git_config_string(&ssl_version, var, value);
209209
if (!strcmp("http.sslcert", var))
210-
return git_config_string(&ssl_cert, var, value);
210+
return git_config_pathname(&ssl_cert, var, value);
211211
#if LIBCURL_VERSION_NUM >= 0x070903
212212
if (!strcmp("http.sslkey", var))
213-
return git_config_string(&ssl_key, var, value);
213+
return git_config_pathname(&ssl_key, var, value);
214214
#endif
215215
#if LIBCURL_VERSION_NUM >= 0x070908
216216
if (!strcmp("http.sslcapath", var))

0 commit comments

Comments
 (0)