curl_easy_setopt(conn, CURLOPT_WRITEDATA, &PageData);
curl_easy_setopt(conn, CURLOPT_WRITEHEADER, &PageHeader);
- SetConnectionObject(conn);
+#if defined(__APPLE__)
+
+ SetConnectionObject(conn);
+
+#endif
conncode = (curl_easy_perform(conn));
curl_easy_setopt(connssldata, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt(connssldata, CURLOPT_SSL_VERIFYHOST, 0L);
+#if defined(__APPLE__)
+
SetConnectionObject(connssldata);
-
+
+#endif
+
CURLcode certfetchcode;
certfetchcode = (curl_easy_perform(connssldata));