gnutls_handshake crash on multithreading

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Feb 15 19:54:40 CET 2010


Vasiliy Ivanov wrote:
> No effect!
> This is last variant:
> 
> 		gcry_check_version (GCRYPT_VERSION);
> 		gcry_control( GCRYCTL_SET_THREAD_CBS, &gcry_threads_boost );
> 		gcry_control (GCRYCTL_SUSPEND_SECMEM_WARN);
> 		gcry_control (GCRYCTL_INIT_SECMEM, 16384, 0);
> 		gcry_control (GCRYCTL_RESUME_SECMEM_WARN);
> 		gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
> 		gcry_control (GCRYCTL_INITIALIZATION_FINISHED_P); 
> 		
> 		gnutls_global_init();

Did you try the example in the documentation?
http://www.gnu.org/software/gnutls/manual/html_node/Multi_002dthreaded-applications.html







More information about the Gnutls-devel mailing list