mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-06 08:20:07 +01:00
Report kernel FIPS mode in module version test.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user