Blame 0040-fips-do-not-fail-immediatly-after-loading-the-crypto.patch

Harald Hoyer e2c90d
From 26a077fc7e5a381284a9b474acdf22a58fb47dda Mon Sep 17 00:00:00 2001
Harald Hoyer e2c90d
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer e2c90d
Date: Mon, 29 Apr 2013 11:34:26 +0200
Harald Hoyer e2c90d
Subject: [PATCH] fips: do not fail immediatly after loading the crypto modules
Harald Hoyer e2c90d
Harald Hoyer e2c90d
Fail only if tcrypt insmod failed.
Harald Hoyer e2c90d
---
Harald Hoyer e2c90d
 modules.d/01fips/fips.sh | 2 +-
Harald Hoyer e2c90d
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer e2c90d
Harald Hoyer e2c90d
diff --git a/modules.d/01fips/fips.sh b/modules.d/01fips/fips.sh
Harald Hoyer e2c90d
index ce3e49c..0095416 100755
Harald Hoyer e2c90d
--- a/modules.d/01fips/fips.sh
Harald Hoyer e2c90d
+++ b/modules.d/01fips/fips.sh
Harald Hoyer e2c90d
@@ -63,7 +63,7 @@ do_fips()
Harald Hoyer e2c90d
     info "Loading and integrity checking all crypto modules"
Harald Hoyer e2c90d
     for module in $FIPSMODULES; do
Harald Hoyer e2c90d
         if [ "$module" != "tcrypt" ]; then
Harald Hoyer e2c90d
-            modprobe ${module} || return 1
Harald Hoyer e2c90d
+            modprobe ${module}
Harald Hoyer e2c90d
         fi
Harald Hoyer e2c90d
     done
Harald Hoyer e2c90d
     info "Self testing crypto algorithms"