提交 789a2b62 编写于 作者: R Richard Levitte

Don't try to clean up RAND from ENGINE

This is especially harmful since OPENSSL_cleanup() has already called
the RAND cleanup function
Reviewed-by: NMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3137)
上级 87975cfa
......@@ -166,11 +166,6 @@ void engine_cleanup_int(void)
engine_cleanup_cb_free);
cleanup_stack = NULL;
}
/*
* FIXME: This should be handled (somehow) through RAND, eg. by it
* registering a cleanup callback.
*/
RAND_set_rand_method(NULL);
CRYPTO_THREAD_lock_free(global_engine_lock);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册