mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-13 11:50:10 +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))"
|
echo "Cryptsetup test environment ($(date))"
|
||||||
uname -a
|
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
|
if [ -f /etc/os-release ] ; then
|
||||||
source /etc/os-release
|
source /etc/os-release
|
||||||
|
|||||||
Reference in New Issue
Block a user