{"thread":{"id":"1976","subject":"[PATCH] Old curl does not know about CURLOPT_SSLKEY","startedAt":"2005-09-29T16:19:50Z","lastAt":"2005-09-30T05:51:06Z","messageCount":2,"participants":["Johannes Schindelin","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"9485","messageId":"Pine.LNX.4.63.0509291819090.7007@wgmdd8.biozentrum.uni-wuerzburg.de","threadId":"1976","inReplyTo":null,"subject":"[PATCH] Old curl does not know about CURLOPT_SSLKEY","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2005-09-29T16:19:50Z","receivedAt":"2005-09-29T16:19:50Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"\n... so try to set it only in later versions.\n\nSigned-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>\n\n---\n\n http-fetch.c |    2 ++\n 1 files changed, 2 insertions(+), 0 deletions(-)\n\nd1d3438564c8407b916aa374fbac89a5aa902eb1\ndiff --git a/http-fetch.c b/http-fetch.c\n--- a/http-fetch.c\n+++ b/http-fetch.c\n@@ -529,9 +529,11 @@ int main(int argc, char **argv)\n \tif ((ssl_cert = getenv(\"GIT_SSL_CERT\")) != NULL) {\n \t\tcurl_easy_setopt(curl, CURLOPT_SSLCERT, ssl_cert);\n \t}\n+#if LIBCURL_VERSION_NUM >= 0x070902\n \tif ((ssl_key = getenv(\"GIT_SSL_KEY\")) != NULL) {\n \t\tcurl_easy_setopt(curl, CURLOPT_SSLKEY, ssl_key);\n \t}\n+#endif\n #if LIBCURL_VERSION_NUM >= 0x070908\n \tif ((ssl_capath = getenv(\"GIT_SSL_CAPATH\")) != NULL) {\n \t\tcurl_easy_setopt(curl, CURLOPT_CAPATH, ssl_capath);\n"},{"id":"9532","messageId":"7v1x379k8l.fsf@assigned-by-dhcp.cox.net","threadId":"1976","inReplyTo":"Pine.LNX.4.63.0509291819090.7007@wgmdd8.biozentrum.uni-wuerzburg.de","subject":"Re: [PATCH] Old curl does not know about CURLOPT_SSLKEY","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-09-30T05:51:06Z","receivedAt":"2005-09-30T05:51:06Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.  Will apply.\n\nNext time around, please CC me (or To me and CC list), if the\npatch is trivial and for immediate application.\n"}]}