Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1912)

Unified Diff: base/hmac_mac.cc

Issue 6683060: Private API for extensions like ssh-client that need access to TCP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_) {
« no previous file with comments | « base/hmac.h ('k') | base/hmac_nss.cc » ('j') | chrome/browser/extensions/extension_apitest.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698