Blame SOURCES/0481-fips-module-setup.sh-make-tcrypt-non-optional.patch

712866
From 1bb76cea727468cf2c1a05814b93a83711be3ee9 Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Wed, 30 Nov 2016 15:01:39 +0100
712866
Subject: [PATCH] fips/module-setup.sh: make tcrypt non-optional
712866
712866
---
712866
 modules.d/01fips/module-setup.sh | 4 ++--
712866
 1 file changed, 2 insertions(+), 2 deletions(-)
712866
712866
diff --git a/modules.d/01fips/module-setup.sh b/modules.d/01fips/module-setup.sh
5c6c2a
index 3bf6c332..d553a8c1 100755
712866
--- a/modules.d/01fips/module-setup.sh
712866
+++ b/modules.d/01fips/module-setup.sh
712866
@@ -21,12 +21,12 @@ installkernel() {
712866
         _fipsmodules+="ecb eseqiv fcrypt gcm ghash_generic hmac khazad lzo md4 md5 michael_mic rmd128 "
712866
         _fipsmodules+="rmd160 rmd256 rmd320 rot13 salsa20 seed seqiv serpent sha1 sha224 sha256 sha256_generic "
712866
         _fipsmodules+="aes_s390 des_s390 prng sha256_s390 sha_common des_check_key sha1_s390 sha512_s390 "
712866
-        _fipsmodules+="sha384 sha512 sha512_generic tcrypt tea tnepres twofish wp256 wp384 wp512 xeta xtea xts zlib "
712866
+        _fipsmodules+="sha384 sha512 sha512_generic tea tnepres twofish wp256 wp384 wp512 xeta xtea xts zlib "
712866
     fi
712866
 
712866
     mkdir -m 0755 -p "${initdir}/etc/modprobe.d"
712866
 
712866
-    for _mod in $_fipsmodules; do
712866
+    for _mod in $_fipsmodules tcrypt; do
712866
         if hostonly='' instmods -c -s $_mod; then
712866
             echo $_mod >> "${initdir}/etc/fipsmodules"
712866
             echo "blacklist $_mod" >> "${initdir}/etc/modprobe.d/fips.conf"