summaryrefslogtreecommitdiffstats
path: root/crypto/hmac_mac.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/hmac_mac.cc')
-rw-r--r--crypto/hmac_mac.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hmac_mac.cc b/crypto/hmac_mac.cc
index fefd6e7..f9a00cd 100644
--- a/crypto/hmac_mac.cc
+++ b/crypto/hmac_mac.cc
@@ -39,7 +39,7 @@ HMAC::~HMAC() {
plat_->key_.reserve(0);
}
-bool HMAC::Sign(const std::string& data,
+bool HMAC::Sign(const base::StringPiece& data,
unsigned char* digest,
int digest_length) const {
CCHmacAlgorithm algorithm;