Skip to content

Commit

Permalink
KEYS: The PKCS#7 test key type should use the secondary keyring
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
dhowells committed May 11, 2016
1 parent a6926cc commit 3c8f227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/asymmetric_keys/pkcs7_key_type.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 3c8f227

Please sign in to comment.