On 11/01/2011 07:51 PM, [email protected] 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 _______________________________________________ Help-gnutls mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-gnutls
