Hello,
> > The select is part of the OpenSSL implementation. I specifically avoided
> > the select() by going multi threaded and here I am sitting with a select
> > problem (I think) due to the OpenSSL library.
> > 
> > I want to stay away from hacking the OpenSSL library.
> Sorry for misundestanding.
> SSL_accept() calls RAND_bytes() and RAND_pseudo_bytes()
> (with calls RAND_bytes() with ignorance of not seeded PRNG).
> If PRNG is not seeded RAND_bytes() tries to self seed
> using RAND_pool() - RAND_add() do not use select().
> For me seems that if you properly initialize PRNG
> (before creating threads) this may resolve problem.
> I think something like:
>       RAND_load_file("/dev/urandom", 1024);
> should be enough.
Sorry ones again - it seems that Bodo Muller already said that.

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to