File 0057-01fips-Include-some-more-hmacs.patch of Package dracut.15766

From b53bc39cb35dda350b0629036a3eb87d90debe56 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Thu, 12 Jun 2014 09:26:20 +0200
Subject: 01fips: Include some more hmacs

Include the several hmacs needed for FIPS integrity checking
of cryptsetup, libgcrypt, libfipscheck1. Also add the openssl
HMACs too as someone else seems to use those too.

Signed-off-by: Marcus Meissner <meissner@suse.de>
---
 modules.d/01fips/module-setup.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Index: dracut-042/modules.d/01fips/module-setup.sh
===================================================================
--- dracut-042.orig/modules.d/01fips/module-setup.sh	2015-06-24 18:02:07.817284113 +0200
+++ dracut-042/modules.d/01fips/module-setup.sh	2015-06-24 18:02:08.453320321 +0200
@@ -44,6 +44,10 @@ install() {
     inst_libdir_file libsoftokn3.so libsoftokn3.so \
         libsoftokn3.chk libfreebl3.so libfreebl3.chk \
         libssl.so 'hmaccalc/sha512hmac.hmac' libssl.so.10 \
+        .libcrypto.so.1.0.0.hmac .libssl.so.1.0.0.hmac \
+        .libcryptsetup.so.4.5.0.hmac .libcryptsetup.so.4.hmac \
+        .libgcrypt.so.20.hmac \
+        .libfipscheck.so.1.hmac .libfipscheck.so.1.1.0.hmac
         libfreeblpriv3.so libfreeblpriv3.chk
 
     # we do not use prelink at SUSE
openSUSE Build Service is sponsored by