summaryrefslogtreecommitdiffstats
path: root/crypto/hmac_nss.cc
diff options
context:
space:
mode:
authorzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-23 22:05:34 +0000
committerzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-23 22:05:34 +0000
commit5e0de8b503a5cd89042bda6a40d99470a26f557c (patch)
treebe76bfe7e06915275462b8fcb739d5dd1cddf97c /crypto/hmac_nss.cc
parentf55d1b018c96331e10a3a9451ae2ac45015ec048 (diff)
downloadchromium_src-5e0de8b503a5cd89042bda6a40d99470a26f557c.zip
chromium_src-5e0de8b503a5cd89042bda6a40d99470a26f557c.tar.gz
chromium_src-5e0de8b503a5cd89042bda6a40d99470a26f557c.tar.bz2
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
Diffstat (limited to 'crypto/hmac_nss.cc')
-rw-r--r--crypto/hmac_nss.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/hmac_nss.cc b/crypto/hmac_nss.cc
index cf202e5..2dbbce4 100644
--- a/crypto/hmac_nss.cc
+++ b/crypto/hmac_nss.cc
@@ -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;
}