0

Fixed slot selection in HMAC class to ensure that we are using softtoken instead of TPM slots.

BUG=chromium-os:21633
TEST=make sure that user signin works properly on Alex - we should not show Gaia signin screen on second login after system resote
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106881
Review URL: http://codereview.chromium.org/8373022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106882 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
zelidrag@chromium.org
2011-10-23 22:05:34 +00:00
parent f55d1b018c
commit 5e0de8b503

@ -100,9 +100,6 @@ bool HMAC::Sign(const base::StringPiece& data,
if (PK11_DigestOp(context.get(),
reinterpret_cast<const unsigned char*>(data.data()),
data.length()) != SECSuccess) {
LOG(WARNING) << "PK11_DigestOp failed, error " << PORT_GetError()
<< ", slot name " << PK11_GetSlotName(plat_->slot_.get())
<< ", token name " << PK11_GetTokenName(plat_->slot_.get());
NOTREACHED();
return false;
}