diff options
author | Roberto Sassu <roberto.sassu@polito.it> | 2010-10-06 18:31:15 +0200 |
---|---|---|
committer | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2010-10-29 17:31:36 +0200 |
commit | 39fac853a758306285404368fbe392408057b136 (patch) | |
tree | 920cc8e2ed51b568c6c63d15dfa98931f5926d04 /crypto/tea.c | |
parent | ecryptfs: release keys loaded in ecryptfs_keyring_auth_tok_for_sig() (diff) | |
download | linux-39fac853a758306285404368fbe392408057b136.tar.xz linux-39fac853a758306285404368fbe392408057b136.zip |
ecryptfs: checking return code of ecryptfs_find_auth_tok_for_sig()
This patch replaces the check of the 'matching_auth_tok' pointer with
the exit status of ecryptfs_find_auth_tok_for_sig().
This avoids to use authentication tokens obtained through the function
ecryptfs_keyring_auth_tok_for_sig which are not valid.
Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Cc: Dustin Kirkland <kirkland@canonical.com>
Cc: James Morris <jmorris@namei.org>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Diffstat (limited to 'crypto/tea.c')
0 files changed, 0 insertions, 0 deletions