提交 ff053fc8 编写于 作者: D Dr. Stephen Henson

Don't set FIPS rand method at same time as RAND method as this can cause the

FIPS library to fail. Applications that want to set the FIPS rand method can do
so explicitly and presumably they know what they are doing...
上级 279a0001
......@@ -78,10 +78,6 @@ static const RAND_METHOD *default_RAND_meth = NULL;
int RAND_set_rand_method(const RAND_METHOD *meth)
{
#ifdef OPENSSL_FIPS
if (!FIPS_rand_set_method(meth))
return 0;
#endif
#ifndef OPENSSL_NO_ENGINE
if(funct_ref)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册