summaryrefslogtreecommitdiffstats
path: root/crypto/hmac.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/hmac.cc')
-rw-r--r--crypto/hmac.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hmac.cc b/crypto/hmac.cc
index 126d124..c9a2b74 100644
--- a/crypto/hmac.cc
+++ b/crypto/hmac.cc
@@ -45,7 +45,7 @@ bool HMAC::VerifyTruncated(const base::StringPiece& data,
if (digest.empty())
return false;
size_t digest_length = DigestLength();
- scoped_array<unsigned char> computed_digest(
+ scoped_ptr<unsigned char[]> computed_digest(
new unsigned char[digest_length]);
if (!Sign(data, computed_digest.get(), digest_length))
return false;