Skip to content
Commit a4125514 authored by Richard Levitte's avatar Richard Levitte
Browse files

There's a deadlock when ssleay_rand_bytes is called the first time, since

it wants to stir the pool using ssleay_rand_add.  This fix provides the
possibility to call ssleay_rand_add inside a locked state by simply telling
it not to do any locking through a static variable.  This isn't the most
elegant way one could do this, but it does retain thread safety during the
stirring process.
parent 033d001e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment