Always call ENGINE_cleanup() in de-init
authorMatt Caswell <matt@openssl.org>
Wed, 9 Mar 2016 00:53:38 +0000 (00:53 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 9 Mar 2016 10:04:21 +0000 (11:04 +0100)
commitae6412f3bed37a4a7e8248ccbc31c849f20ac857
tree7519230d0c7cb8a884b1863a12ee5f8714bb6ae0
parent0231a02963a80a3d2efe43745ba19dba5fe9213f
Always call ENGINE_cleanup() in de-init

Even if we haven't loaded an engine, we might have set up the
global_engine_lock, so we should still clean up.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/init.c