From: Dan Carpenter Date: Tue, 6 Mar 2012 13:32:16 +0000 (+0000) Subject: KEYS: testing wrong bit for KEY_FLAG_REVOKED X-Git-Tag: v3.4-rc1~165^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f67dabbdde1fe112dfff05d02890f1e0d54117a8;p=pandora-kernel.git 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 Signed-off-by: David Howells Signed-off-by: James Morris --- Reading git-diff-tree failed