@@ -20,7 +20,7 @@ char curl_errorstr[CURL_ERROR_SIZE];
2020
2121static int curl_ssl_verify = -1 ;
2222static const char * ssl_cert ;
23- #if LIBCURL_VERSION_NUM >= 0x070902
23+ #if LIBCURL_VERSION_NUM >= 0x070903
2424static const char * ssl_key ;
2525#endif
2626#if LIBCURL_VERSION_NUM >= 0x070908
@@ -126,7 +126,7 @@ static int http_options(const char *var, const char *value, void *cb)
126126 }
127127 if (!strcmp ("http.sslcert" , var ))
128128 return git_config_string (& ssl_cert , var , value );
129- #if LIBCURL_VERSION_NUM >= 0x070902
129+ #if LIBCURL_VERSION_NUM >= 0x070903
130130 if (!strcmp ("http.sslkey" , var ))
131131 return git_config_string (& ssl_key , var , value );
132132#endif
@@ -196,7 +196,7 @@ static CURL *get_curl_handle(void)
196196
197197 if (ssl_cert != NULL )
198198 curl_easy_setopt (result , CURLOPT_SSLCERT , ssl_cert );
199- #if LIBCURL_VERSION_NUM >= 0x070902
199+ #if LIBCURL_VERSION_NUM >= 0x070903
200200 if (ssl_key != NULL )
201201 curl_easy_setopt (result , CURLOPT_SSLKEY , ssl_key );
202202#endif
@@ -313,7 +313,7 @@ void http_init(struct remote *remote)
313313 curl_ssl_verify = 0 ;
314314
315315 set_from_env (& ssl_cert , "GIT_SSL_CERT" );
316- #if LIBCURL_VERSION_NUM >= 0x070902
316+ #if LIBCURL_VERSION_NUM >= 0x070903
317317 set_from_env (& ssl_key , "GIT_SSL_KEY" );
318318#endif
319319#if LIBCURL_VERSION_NUM >= 0x070908
0 commit comments