提交 082cb715 authored 作者: Anthony Minessale's avatar Anthony Minessale

ditto

上级 1d18b58b
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#define __SWITCH_CURL_H #define __SWITCH_CURL_H
#include <curl/curl.h> #include <curl/curl.h>
#include "switch_ssl.h" #include <switch_ssl.h>
static inline void switch_curl_init(void) static inline void switch_curl_init(void)
{ {
...@@ -41,7 +41,7 @@ static inline void switch_curl_init(void) ...@@ -41,7 +41,7 @@ static inline void switch_curl_init(void)
if (curl_count == 0) { if (curl_count == 0) {
curl_global_init(CURL_GLOBAL_ALL); curl_global_init(CURL_GLOBAL_ALL);
#if defined(HAVE_OPENSSL) #if defined(HAVE_OPENSSL)
switch_curl_init_ssl_locks(); switch_ssl_init_ssl_locks();
#endif #endif
} }
...@@ -58,7 +58,7 @@ static inline void switch_curl_destroy() ...@@ -58,7 +58,7 @@ static inline void switch_curl_destroy()
if (curl_count == 0) { if (curl_count == 0) {
#if defined(HAVE_OPENSSL) #if defined(HAVE_OPENSSL)
switch_curl_destroy_ssl_locks(); switch_ssl_destroy_ssl_locks();
#endif #endif
curl_global_cleanup(); curl_global_cleanup();
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论