cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with curl_global_init(CURL_GLOBAL_SSL)

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 24 May 2004 08:02:58 +0200 (CEST)

On Sat, 22 May 2004, Johan Antonsson wrote:

> Ok, that gives me a clue. I'm also using Corba (TAO) over SSL in another
> function which I was calling first. That's why SSL worked. So my problem
> occurs when initializing SSL a second time with
> curl_global_init(CURL_GLOBAL_SSL). The other way seem to work fine, i.e.
> first initialize via Curl and than via Corba. That doesn't corrupt Matlabs
> memory. If one can reuse the initialization this way, shouldn't Curl be able
> to notice that SSL is already initialized, or is it all up to SSL?

If they can handle it nicely, then we should be able to as well.

> Or is there a way to find out if SSL is initialized, that you know of?

I'm not aware of any such method. But that doesn't mean there is none. I'm not
an OpenSSL expert.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-05-24