fips: do not fail immediatly after loading the crypto modules
Fail only if tcrypt insmod failed.master
parent
8461734ee4
commit
26a077fc7e
|
@ -63,7 +63,7 @@ do_fips()
|
||||||
info "Loading and integrity checking all crypto modules"
|
info "Loading and integrity checking all crypto modules"
|
||||||
for module in $FIPSMODULES; do
|
for module in $FIPSMODULES; do
|
||||||
if [ "$module" != "tcrypt" ]; then
|
if [ "$module" != "tcrypt" ]; then
|
||||||
modprobe ${module} || return 1
|
modprobe ${module}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
info "Self testing crypto algorithms"
|
info "Self testing crypto algorithms"
|
||||||
|
|
Loading…
Reference in New Issue