]> granicus.if.org Git - openssl/commit
Fix rand_lib.c for no-engine configuration
authorRichard Levitte <levitte@openssl.org>
Fri, 7 Apr 2017 14:26:10 +0000 (16:26 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 7 Apr 2017 14:34:40 +0000 (16:34 +0200)
commit8d8cae7d3028de123a081196897b0ccedf921c6f
treeb505a4650a99792465129684a7c05dad7bdd788a
parentdf13eb7ae70073de8c95ca3c7d2f587037582470
Fix rand_lib.c for no-engine configuration

When configured no-engine, we still refered to rand_engine_lock.
Rework the lock init code to avoid that.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3145)
(cherry picked from commit 2f881d2d9065342454fe352eac9e835cefa0ba90)
crypto/rand/rand_lib.c