summaryrefslogtreecommitdiffstats
path: root/crypto/hmac_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/hmac_win.cc')
-rw-r--r--crypto/hmac_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hmac_win.cc b/crypto/hmac_win.cc
index 1e6954a..34facc5 100644
--- a/crypto/hmac_win.cc
+++ b/crypto/hmac_win.cc
@@ -154,7 +154,7 @@ bool HMAC::Init(const unsigned char* key, int key_length) {
HMAC::~HMAC() {
}
-bool HMAC::Sign(const std::string& data,
+bool HMAC::Sign(const base::StringPiece& data,
unsigned char* digest,
int digest_length) const {
if (hash_alg_ == SHA256) {