Report kernel FIPS mode in module version test.

This commit is contained in:
Milan Broz
2019-10-03 14:01:27 +02:00
parent bb1ce4a069
commit 4eeb741358

View File

@@ -13,6 +13,9 @@ function pversion() {
echo "Cryptsetup test environment ($(date))"
uname -a
if [ "$(cat /proc/sys/crypto/fips_enabled 2>/dev/null)" = "1" ] ; then
echo "Kernel running in FIPS mode."
fi
if [ -f /etc/os-release ] ; then
source /etc/os-release