summaryrefslogtreecommitdiff
path: root/patches/verify.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/verify.patch')
-rw-r--r--patches/verify.patch5
1 files changed, 4 insertions, 1 deletions
diff --git a/patches/verify.patch b/patches/verify.patch
index ccc08a78..0a09fdbb 100644
--- a/patches/verify.patch
+++ b/patches/verify.patch
@@ -11,10 +11,13 @@
if (ret == -ENOMEM)
--- a/compat/verification/x509_public_key.c
+++ b/compat/verification/x509_public_key.c
-@@ -13,11 +13,8 @@
+@@ -13,11 +13,11 @@
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
++#if LINUX_VERSION_IS_LESS(3,17,0)
++#include <linux/err.h>
++#endif
-#include <keys/asymmetric-subtype.h>
-#include <keys/asymmetric-parser.h>
#include <keys/system_keyring.h>