Problem with libgcrypt maybe because of libgnutls
psalters at gmail.com
Wed May 16 11:33:15 CEST 2012
On 16 May 2012 11:18, Nikos Mavrogiannopoulos <nmav at gnutls.org> wrote:
> On Tue, May 15, 2012 at 9:54 AM, Paul Salters <psalters at gmail.com> wrote:
>> Dear mailinglist members,
>> I have an problem with my application. My application is using the
>> xmlrpc-c library (http://xmlrpc-c.sourceforge.net/) that library is
>> using the curl library which is using the gnutls library which is
>> using libgcrypt. (So far so good?)
> Libgcrypt requires mutex locks to be setup by the end application. I
> don't know if curl does it already for you, but if it doesn't you
> should set them up.
> If you use gnutls 2.12.0 or later you need not to perform any of these
> actions because the system mutexes are used by default.
Thank you for answer!
I have add the following lines of code to my application.
gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
But the error still remains.
More information about the Gnutls-help