rand/rand_lib.c: keep fixing no-engine configuration.
@@ -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)
