cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Crypto locking callbacks?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 30 Jul 2008 22:44:32 +0200 (CEST)

On Wed, 30 Jul 2008, Matthias Tribulowski wrote:

> is there a reason why curl doesn't provide an option to set the
> SSL/CRYPTO multi-threading locking callbacks

Feel free to suggest a way how we should provide this, which works with the
libs we support. Or even better, submit a patch!

> We use libcurl in many programs which would mean to modify many parts of the
> code to have it set for all used libcurl instances. Or I modify the (common)
> curl source code, e.g. Curl_ossl_init() seems to be a perfect spot...

If you need to change libcurl and you want it to be restricted to the OpenSSL-
specific parts, then yes.

-- 
  / daniel.haxx.se
Received on 2008-07-30