RE: multihtread and segfault (AES,SHA1, init, CRYPTO_malloc)

2009-08-22 Thread David Schwartz
> Hi! > My multithread app needs use AES and SHA1 algorithms. > I've added several mutexes as described in crypto/threads/mttest.c but > helgrind nevertheless reports about race conditions in ssl functions. > Also there are several segfaults caused by ssl funcs(gdb detects). > OPENSSL_THREADS defi

multihtread and segfault (AES,SHA1, init, CRYPTO_malloc)

2009-08-22 Thread korisk
Hi! My multithread app needs use AES and SHA1 algorithms. I've added several mutexes as described in crypto/threads/mttest.c but helgrind nevertheless reports about race conditions in ssl functions. Also there are several segfaults caused by ssl funcs(gdb detects). OPENSSL_THREADS defined. All