cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Inconsistent SSL error

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 20 Sep 2002 14:07:36 +0200 (MET DST)

On Thu, 19 Sep 2002 llimousin_at_ehdl.com wrote:

> When I use: curl_global_init( CURL_GLOBAL_SSL );
>
> I get "SSL: couldn't create a context!" on my workstation
> and "Couldn't resolve host ..." on the win2k server
>
> curl_global_init( CURL_GLOBAL_ALL ) seems to take care of that.

Ah, right.

Windows users who don't initiate winsock for curl must set CURL_GLOBAL_WIN32
or they'll face all sorts of problems due to that. CURL_GLOBAL_ALL does that.

Using only CURL_GLOBAL_SSL requires the winsock stuff to be taken care of by
the app itself.

For non-windows platforms, there's no difference between these two (at this
point).

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-09-20