Commit 625146d9 authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix async deadlock problem



The rand code can aquire locks and then attempt crypto operations. This
can end up in a deadlock if we are using an async engine, because control
returns back to the user code whilst still holding the lock. We need to
force synchronous operation for these sections of code.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent e8dfb5bf
Supports Markdown
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