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

Unified Diff: crypto/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: reflected comments Created 9 years, 7 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: crypto/hmac_mac.cc
diff --git a/crypto/hmac_mac.cc b/crypto/hmac_mac.cc
index d7cec61da19e8bd107fd037080b12d97c5013d7e..fefd6e7503fc1a920ce290e1235c81dffb806ef7 100644
--- a/crypto/hmac_mac.cc
+++ b/crypto/hmac_mac.cc
@@ -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 | « crypto/hmac.h ('k') | crypto/hmac_nss.cc » ('j') | crypto/symmetric_key_mac.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698