Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions git-curl-compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
*/
#if LIBCURL_VERSION_NUM >= 0x073400
#define GIT_CURL_HAVE_CURLOPT_PROXY_CAINFO 1
#define GIT_CURL_HAVE_CURLOPT_PROXY_SSL_OPTIONS 1
#endif

/**
Expand Down
6 changes: 5 additions & 1 deletion http.c
Original file line number Diff line number Diff line change
Expand Up @@ -1028,8 +1028,12 @@ static CURL *get_curl_handle(void)
#endif
}

if (ssl_options)
if (ssl_options) {
curl_easy_setopt(result, CURLOPT_SSL_OPTIONS, ssl_options);
#ifdef GIT_CURL_HAVE_CURLOPT_PROXY_SSL_OPTIONS
curl_easy_setopt(result, CURLOPT_PROXY_SSL_OPTIONS, ssl_options);
#endif
}
}

if (http_proactive_auth)
Expand Down