curl-library
Re: initializing SSL
Date: Fri, 14 Jan 2011 10:09:54 -0800
Thanks Daniel!
On Fri, Jan 14, 2011 at 2:54 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> 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.html
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-14