summaryrefslogtreecommitdiffstats
path: root/crypto/hmac_nss.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/hmac_nss.cc')
-rw-r--r--crypto/hmac_nss.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hmac_nss.cc b/crypto/hmac_nss.cc
index 722fcf1..81b2e39 100644
--- a/crypto/hmac_nss.cc
+++ b/crypto/hmac_nss.cc
@@ -73,7 +73,7 @@ bool HMAC::Init(const unsigned char *key, int key_length) {
return true;
}
-bool HMAC::Sign(const std::string& data,
+bool HMAC::Sign(const base::StringPiece& data,
unsigned char* digest,
int digest_length) const {
if (!plat_->sym_key_.get()) {