l30013671 / rpms / kernel

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