curl-library
Re: initializing SSL
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 14 Jan 2011 11:54:47 +0100 (CET)
Date: Fri, 14 Jan 2011 11:54:47 +0100 (CET)
On Thu, 13 Jan 2011, Alan Wolfe wrote:
> I was wondering, what is the proper way to initialize ssl?
>
> Is it by passing the right flag to curl_global_init or are there other ways
> too?
If your app already initializes the SSL library outside of libcurl and your
app is using the same SSL library as libcurl does, then you can opt to ask
libcurl to _not_ init the SSL library (basically to avoid doing the same thing
twice).
For the majority of all use-cases however, you will include the SSL init flag
in curl_global_init() and just be happy.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-01-14