Hi David,
Thanks. By providing the "OPENSSL_THREADS" option in the Makefile and
compiling as solved the problem.
Regards,
Prabhu. S
On 5/5/07, David Schwartz <[EMAIL PROTECTED]> wrote:
> Hi ,
>
> In my SSL enabled client application , about 100 threads are spawned
> and connection with a server is attempted. The application crashes
> with the following message getting printed on the console. The
> behaviour is random.
>
> md_rand.c:312: ssleay_rand_add: Assertion `md_c[1] == md_count[1]'
failed
>
>
> Please advise.
This is the assert in question:
#if !defined(OPENSSL_THREADS) && !defined(OPENSSL_SYS_WIN32)
assert(md_c[1] == md_count[1]);
#endif
You'll notice that this assertion is only present in the non-threaded
build
of OpenSSL. The problem is that you have such a build.
DS
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]