diff options
author | Andy Polyakov <appro@openssl.org> | 2017-04-08 22:29:09 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2017-04-10 12:09:23 +0200 |
commit | ce57ac431964f7692af674fd124103d6fe07af2e (patch) | |
tree | 457bcb5ca038d270db9c8bbe4b7ee7e93d7ba847 /crypto/rand | |
parent | e128f891de71bbdba8391355af8d6d47d20b1969 (diff) |
rand/rand_lib.c: keep fixing no-engine configuration.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/rand')
-rw-r--r-- | crypto/rand/rand_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c index 40e2464a82..7ffd10bd78 100644 --- a/crypto/rand/rand_lib.c +++ b/crypto/rand/rand_lib.c @@ -113,7 +113,9 @@ void rand_cleanup_int(void) meth->cleanup(); RAND_set_rand_method(NULL); CRYPTO_THREAD_lock_free(rand_meth_lock); +#ifndef OPENSSL_NO_ENGINE CRYPTO_THREAD_lock_free(rand_engine_lock); +#endif } void RAND_seed(const void *buf, int num) |