Skip to content
Commit b3811d36 authored by Chun-Yi Lee's avatar Chun-Yi Lee Committed by David Howells
Browse files

KEYS: checking the input id parameters before finding asymmetric key



For finding asymmetric key, the input id_0 and id_1 parameters can
not be NULL at the same time. This patch adds the BUG_ON checking
for id_0 and id_1.

Cc: David Howells <dhowells@redhat.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: default avatarChun-Yi Lee <jlee@suse.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 6a6d2a77
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment