From 3c8f2278716dc862c420d3d256a83ce30fd12e74 Mon Sep 17 00:00:00 2001 From: David Howells Date: Wed, 11 May 2016 14:31:55 +0100 Subject: KEYS: The PKCS#7 test key type should use the secondary keyring The PKCS#7 test key type should use the secondary keyring instead of the built-in keyring if available as the source of trustworthy keys. Signed-off-by: David Howells --- crypto/asymmetric_keys/pkcs7_key_type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto') 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); } -- cgit v1.2.3