diff options
author | David Howells <dhowells@redhat.com> | 2016-05-11 09:31:55 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-05-11 09:31:55 -0400 |
commit | 3c8f2278716dc862c420d3d256a83ce30fd12e74 (patch) | |
tree | be0a9954d0fdd11607aca9aca075150971e1adba /crypto/asymmetric_keys | |
parent | a6926cc989eb8e3349ae9b858177608e86f7257c (diff) |
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 <dhowells@redhat.com>
Diffstat (limited to 'crypto/asymmetric_keys')
-rw-r--r-- | crypto/asymmetric_keys/pkcs7_key_type.c | 2 |
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) | |||
62 | 62 | ||
63 | return verify_pkcs7_signature(NULL, 0, | 63 | return verify_pkcs7_signature(NULL, 0, |
64 | prep->data, prep->datalen, | 64 | prep->data, prep->datalen, |
65 | NULL, usage, | 65 | (void *)1UL, usage, |
66 | pkcs7_view_content, prep); | 66 | pkcs7_view_content, prep); |
67 | } | 67 | } |
68 | 68 | ||