commit | 6e6f9043c154b9154adf1425c2057c90d9fd431c | [log] [tgz] |
---|---|---|
author | Frank Swiderski <fes@chromium.org> | Mon Sep 27 19:45:18 2010 |
committer | Frank Swiderski <fes@chromium.org> | Mon Sep 27 19:45:18 2010 |
tree | 385ce77a710fa2cb6b5a0321af0c3d9f634ba01d | |
parent | ddb6a47a5325067e7b8221fb615ae2e21a2eb326 [diff] |
Only check the well-known password if we know it is not owned. This fix ensures that we only try the well-known owner password if the TPM is not fully owned by checking for the presence of the .tpm_owned file. Otherwise, each boot would cause a failed password attempt, which, on some TPMs, can eventually get the TPM into defend lock state. Change-Id: I87ef8028ed61f20e80e0d65a4e4d84cceea10203 BUG=partner/1137 TEST=manual Review URL: http://codereview.chromium.org/3384032