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 
1 file changed