projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
security: keys: trusted: fix lost handle flush
[linux-2.6-microblaze.git]
/
security
/
keys
/
trusted-keys
/
trusted_tpm2.c
diff --git
a/security/keys/trusted-keys/trusted_tpm2.c
b/security/keys/trusted-keys/trusted_tpm2.c
index
a9810ac
..
08ec7f4
100644
(file)
--- a/
security/keys/trusted-keys/trusted_tpm2.c
+++ b/
security/keys/trusted-keys/trusted_tpm2.c
@@
-309,6
+309,7
@@
int tpm2_unseal_trusted(struct tpm_chip *chip,
return rc;
rc = tpm2_unseal_cmd(chip, payload, options, blob_handle);
+ tpm2_flush_context(chip, blob_handle);
return rc;
}