TPM: integrity fix
authorRajiv Andrade <srajiv@linux.vnet.ibm.com>
Thu, 5 Feb 2009 15:06:30 +0000 (13:06 -0200)
committerJames Morris <jmorris@namei.org>
Thu, 5 Feb 2009 22:06:43 +0000 (09:06 +1100)
Fix to function which is called by IMA, now tpm_chip_find_get() considers the case in which the machine doesn't have a TPM or, if it has, its TPM isn't enabled.

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found