32d17a
From ea6e7d9d0fe3e448aef19b3943d4897ae0bef128 Mon Sep 17 00:00:00 2001
32d17a
From: Fedora Kernel Team <kernel-team@fedoraproject.org>
32d17a
Date: Thu, 3 Aug 2017 13:46:51 -0500
32d17a
Subject: [PATCH] Fix for module sig verification
32d17a
32d17a
---
32d17a
 kernel/module_signing.c | 2 +-
32d17a
 1 file changed, 1 insertion(+), 1 deletion(-)
32d17a
32d17a
diff --git a/kernel/module_signing.c b/kernel/module_signing.c
32d17a
index 937c844..d3d6f95 100644
32d17a
--- a/kernel/module_signing.c
32d17a
+++ b/kernel/module_signing.c
32d17a
@@ -81,6 +81,6 @@ int mod_verify_sig(const void *mod, unsigned long *_modlen)
32d17a
 	}
32d17a
32d17a
 	return verify_pkcs7_signature(mod, modlen, mod + modlen, sig_len,
32d17a
-				      NULL, VERIFYING_MODULE_SIGNATURE,
32d17a
+				      (void *)1UL, VERIFYING_MODULE_SIGNATURE,
32d17a
 				      NULL, NULL);
32d17a
 }
32d17a
-- 
32d17a
2.13.3
32d17a