diff options
author | Chun-Yi Lee <joeyli.kernel@gmail.com> | 2017-10-04 14:18:22 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-10-18 11:12:40 +0300 |
commit | 6a6d2a77addce6bc26ccb53df34478b1593f0fbf (patch) | |
tree | e2ba5dd64da5670331c19b9e149353f52e459f8d /security/keys/user_defined.c | |
parent | 3cd18d1981731d5f74b8e437009124ac99905d14 (diff) | |
download | linux-6a6d2a77addce6bc26ccb53df34478b1593f0fbf.tar.xz |
KEYS: Fix the wrong index when checking the existence of second id
Fix the wrong index number when checking the existence of second
id in function of finding asymmetric key. The id_1 is the second
id that the index in array must be 1 but not 0.
Fixes: 9eb029893ad5 (KEYS: Generalise x509_request_asymmetric_key())
Cc: David Howells <dhowells@redhat.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Chun-Yi Lee <jlee@suse.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'security/keys/user_defined.c')
0 files changed, 0 insertions, 0 deletions