Explicitly initialize openssl for older curl versions
[xonotic/darkplaces.git] / libcurl.c
index c9f272e4478d4887a48e70e22f28988572d8cfe2..ecc1833c867b4b4e44c93ff29d4d9630a9902473 100644 (file)
--- a/libcurl.c
+++ b/libcurl.c
@@ -807,7 +807,7 @@ void Curl_Init(void)
        if(!curl_dll)
                return;
        if (Thread_HasThreads()) curl_mutex = Thread_CreateMutex();
-       qcurl_global_init(CURL_GLOBAL_NOTHING);
+       qcurl_global_init(CURL_GLOBAL_SSL);
        curlm = qcurl_multi_init();
 }