@@ -1,6 +1,6 @@
--- mlogc/mlogc.c.orig 2016-06-02 09:15:03.283648355 +0200
-+++ mlogc/mlogc.c 2016-06-02 09:16:12.539639168 +0200
-@@ -1270,33 +1270,34 @@
++++ mlogc/mlogc.c 2016-06-02 10:59:44.378377602 +0200
+@@ -1270,33 +1270,36 @@
}
@@ -31,6 +31,7 @@
if (cmaj <= 7 && cmin < 34) {
curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1);
- }
++#ifdef CURL_SSLVERSION_TLSv1_0
+ } else {
+ /* Seems like CURL_SSLVERSION_TLSv1_2 is not supported on libcurl
+ * < v7.34.0
@@ -52,6 +53,7 @@
+ curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2);
+ break;
+ }
++#endif
+ }
curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 15);
|