conn = curl_easy_init();
#if defined(__APPLE__)
+
SetConnectionObject(conn);
+
#endif
struct CardDAVCURLPasser {
curl_easy_setopt(conn, CURLOPT_HTTPHEADER, slist);
curl_easy_setopt(conn, CURLOPT_CERTINFO, 1);
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__WIN32__)
#else
curl_easy_setopt(sslerrconn, CURLOPT_CERTINFO, 1);
#if defined(__APPLE__)
+
SetConnectionObject(sslerrconn);
+
#endif
sslerrconncode = (curl_easy_perform(sslerrconn));