Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tpm: Disable TPM on tpm2_create_primary() failure
The earlier bug fix misplaced the error-label when dealing with the tpm2_create_primary() return value, which the original completely ignored. Cc: [email protected] Reported-by: Christoph Anton Mitterer <[email protected]> Closes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087331 Fixes: cc7d859 ("tpm: Rollback tpm2_load_null()") Signed-off-by: Jarkko Sakkinen <[email protected]>
- Loading branch information