Index: base/hmac_mac.cc |
diff --git a/base/hmac_mac.cc b/base/hmac_mac.cc |
index 97dcbf594184a67c7bfb4890b0977859e9a9b9fe..696ad5f1082d3e98caeda6a26ad5340542e410ac 100644 |
--- a/base/hmac_mac.cc |
+++ b/base/hmac_mac.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -41,7 +41,7 @@ HMAC::~HMAC() { |
bool HMAC::Sign(const std::string& data, |
unsigned char* digest, |
- int digest_length) { |
+ int digest_length) const { |
CCHmacAlgorithm algorithm; |
int algorithm_digest_length; |
switch (hash_alg_) { |