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

Set FIPS mode for values other than 1. The only current effect

is to return a consistent value. So calling FIPS_module_mode_set(n)
for n != 0 will result in FIPS_module_mode() returning n. This
will support future expansion of more FIPS modes e.g. a Suite B mode.
上级 c2fd5989
......@@ -281,7 +281,7 @@ int FIPS_module_mode_set(int onoff)
}
if(FIPS_selftest())
fips_set_mode(1);
fips_set_mode(onoff);
else
{
fips_selftest_fail = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册