[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: handshake issue with gnutls 3.0.3
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: handshake issue with gnutls 3.0.3 |
Date: |
Wed, 02 Nov 2011 09:30:12 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20111010 Icedove/3.1.15 |
On 11/01/2011 07:51 PM, address@hidden wrote:
> Anyone run into this. I'm new to GNUTLS and having an issue in
> multi-threaded app.
>
> Via application mutex's, I've serialized access to GNUTLS_HANDSHAKE in
> order just to get a successful handshake... and am getting this:
[...]
> The gnutls-cli app runs fine, built in same environment and does not use
> gnutls_global_set_mutex.
> Since it does work, I've modeled my code largely after ( src/cli.c ), not
> using set_mutex either.
> I realize it's a single thread, that is why I serialized the handshake in
> my app.
> So the random function works fine for gnutls-cli, I don't get what's going
> on.
I don't quite understand your issue. Do the implicit locks (pthread)
work for you, but when you use gnutls_global_set_mutex() you get a crash?
regards,
Nikos