trusted-keys: additional TSS return code and other error handling
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Mon, 13 Dec 2010 21:53:10 +0000 (16:53 -0500)
committerJames Morris <jmorris@namei.org>
Wed, 15 Dec 2010 06:44:25 +0000 (12:14 +0530)
Previously not all TSS return codes were tested, as they were all eventually
caught by the TPM. Now all returns are tested and handled immediately.

This patch also fixes memory leaks in error and non-error paths.

Signed-off-by: David Safford <safford@watson.ibm.com>
Acked-by: Mimi Zohar <zohar@us.ibm.com>
Acked-by: David Howells <dhowells@redhat.com>
Acked-by: Serge E. Hallyn <serge@hallyn.com>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found