cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with libgcrypt maybe because of curl

From: Paul Salters <psalters_at_gmail.com>
Date: Tue, 15 May 2012 12:16:31 +0200

On 14 May 2012 13:56, Paul Salters <psalters_at_gmail.com> wrote:
> On 14 May 2012 13:46, Daniel Stenberg <daniel_at_haxx.se> wrote:
>> On Fri, 11 May 2012, Paul Salters wrote:

>> Are you using the gcrypt mutex callbaks? If you are, then I think you suffer
>> from a problem that modern versions of these libraries don't show.
>
> I don't use the gcrypt mutex callbacks. should I? I thought
> libgnutls/libcurl handles this for me? (I am not that good c(++)
> developer)
>

I have looked in to this and i added the following lines of code to my
program. But unfortunately the error still pops up :(

gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
gcry_check_version("1");
gnutls_global_init();

Paul Salters
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-05-15