diff options
Diffstat (limited to 'lib/easy.c')
-rw-r--r-- | lib/easy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/easy.c b/lib/easy.c index e985a4d5e..0f432d7ae 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -201,7 +201,8 @@ CURLcode curl_global_init(long flags) Curl_ccalloc = (curl_calloc_callback)calloc; if (flags & CURL_GLOBAL_SSL) - Curl_SSL_init(); + if (!Curl_SSL_init()) + return CURLE_FAILED_INIT; if (flags & CURL_GLOBAL_WIN32) if (win32_init() != CURLE_OK) |