summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2016-05-23 13:23:47 +0200
committerJames Morris <james.l.morris@oracle.com>2016-05-23 13:23:47 +0200
commit653bd4568ba083dfd5a06a83de3f0dc1e53dd42b (patch)
tree3378a957889156e4a8f122758d4aa8fe52632a6a /crypto
parentMerge tag 'trace-v4.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ros... (diff)
parentMAINTAINERS: Update keyrings record and add asymmetric keys record (diff)
downloadlinux-653bd4568ba083dfd5a06a83de3f0dc1e53dd42b.tar.xz
linux-653bd4568ba083dfd5a06a83de3f0dc1e53dd42b.zip
Merge tag 'keys-next-20160511' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs into for-linus
Diffstat (limited to 'crypto')
-rw-r--r--crypto/asymmetric_keys/pkcs7_key_type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asymmetric_keys/pkcs7_key_type.c b/crypto/asymmetric_keys/pkcs7_key_type.c
index 3b92523882e5..1063b644efcd 100644
--- a/crypto/asymmetric_keys/pkcs7_key_type.c
+++ b/crypto/asymmetric_keys/pkcs7_key_type.c
@@ -62,7 +62,7 @@ static int pkcs7_preparse(struct key_preparsed_payload *prep)
return verify_pkcs7_signature(NULL, 0,
prep->data, prep->datalen,
- NULL, usage,
+ (void *)1UL, usage,
pkcs7_view_content, prep);
}