Blame 0015-Check-the-proper-variable-for-a-custom-IMA-keys-dire.patch

Harald Hoyer 3763a8
From ab66ef2d4a4297642fa059e9df4f86ccefbed4aa Mon Sep 17 00:00:00 2001
Harald Hoyer 3763a8
From: Jason Dana <jasondana@quarksecurity.com>
Harald Hoyer 3763a8
Date: Thu, 27 Apr 2017 07:55:58 -0400
Harald Hoyer 3763a8
Subject: [PATCH] Check the proper variable for a custom IMA keys directory
Harald Hoyer 3763a8
Harald Hoyer 3763a8
---
Harald Hoyer 3763a8
 modules.d/98integrity/ima-keys-load.sh | 2 +-
Harald Hoyer 3763a8
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer 3763a8
Harald Hoyer 3763a8
diff --git a/modules.d/98integrity/ima-keys-load.sh b/modules.d/98integrity/ima-keys-load.sh
Harald Hoyer 3763a8
index 659b7222..e142f74d 100755
Harald Hoyer 3763a8
--- a/modules.d/98integrity/ima-keys-load.sh
Harald Hoyer 3763a8
+++ b/modules.d/98integrity/ima-keys-load.sh
Harald Hoyer 3763a8
@@ -13,7 +13,7 @@ load_x509_keys()
Harald Hoyer 3763a8
         . ${IMACONFIG}
Harald Hoyer 3763a8
     fi
Harald Hoyer 3763a8
 
Harald Hoyer 3763a8
-    if [ -z "${IMAKEYDIR}" ]; then
Harald Hoyer 3763a8
+    if [ -z "${IMAKEYSDIR}" ]; then
Harald Hoyer 3763a8
         IMAKEYSDIR="/etc/keys/ima"
Harald Hoyer 3763a8
     fi
Harald Hoyer 3763a8