Commit 3c8f2278 authored by David Howells's avatar David Howells

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: default avatarDavid Howells <dhowells@redhat.com>
parent a6926cc9
...@@ -62,7 +62,7 @@ static int pkcs7_preparse(struct key_preparsed_payload *prep) ...@@ -62,7 +62,7 @@ static int pkcs7_preparse(struct key_preparsed_payload *prep)
return verify_pkcs7_signature(NULL, 0, return verify_pkcs7_signature(NULL, 0,
prep->data, prep->datalen, prep->data, prep->datalen,
NULL, usage, (void *)1UL, usage,
pkcs7_view_content, prep); pkcs7_view_content, prep);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment