diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-03-06 13:32:16 +0000 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2012-03-07 11:12:06 +1100 |
commit | f67dabbdde1fe112dfff05d02890f1e0d54117a8 (patch) | |
tree | 5cf73d686d39df4e9986194ff64e98fdcdd4e444 /tools | |
parent | df91e49477a9be15921cb2854e1d12a3bdb5e425 (diff) | |
download | linux-f67dabbdde1fe112dfff05d02890f1e0d54117a8.tar.gz linux-f67dabbdde1fe112dfff05d02890f1e0d54117a8.tar.bz2 linux-f67dabbdde1fe112dfff05d02890f1e0d54117a8.zip |
KEYS: testing wrong bit for KEY_FLAG_REVOKED
The test for "if (cred->request_key_auth->flags & KEY_FLAG_REVOKED) {"
should actually testing that the (1 << KEY_FLAG_REVOKED) bit is set.
The current code actually checks for KEY_FLAG_DEAD.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions