]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Explicitly initialize openssl for older curl versions
authorGary Moon <gary@garymoon.net>
Sat, 26 Mar 2022 21:15:31 +0000 (17:15 -0400)
committerGary Moon <gary@garymoon.net>
Sat, 26 Mar 2022 21:22:27 +0000 (17:22 -0400)
Signed-off-by: Gary Moon <gary@garymoon.net>
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();
 }