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

Unified Diff: base/hmac.h

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.h
diff --git a/base/hmac.h b/base/hmac.h
index 259330782b2c4e3c611750d173e150c5d48d7a86..a19c99aaa1f693cd6a3d0e1a9680e3ad997915fe 100644
--- a/base/hmac.h
+++ b/base/hmac.h
@@ -45,7 +45,8 @@ class BASE_API HMAC {
// Calculates the HMAC for the message in |data| using the algorithm supplied
// to the constructor and the key supplied to the Init method. The HMAC is
// returned in |digest|, which has |digest_length| bytes of storage available.
- bool Sign(const std::string& data, unsigned char* digest, int digest_length);
+ bool Sign(
+ const std::string& data, unsigned char* digest, int digest_length) const;
// TODO(albertb): Add a Verify method.

Powered by Google App Engine
This is Rietveld 408576698