summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/hmac_nss.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/hmac_nss.cc b/base/hmac_nss.cc
index f56a9fc..ce705c5 100644
--- a/base/hmac_nss.cc
+++ b/base/hmac_nss.cc
@@ -56,7 +56,7 @@ bool HMAC::Init(const unsigned char *key, int key_length) {
return false;
}
- if (plat_->slot_.get() || plat_->slot_.get()) {
+ if (plat_->slot_.get()) {
// Init must not be called more than twice on the same HMAC object.
NOTREACHED();
return false;