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

Unified Diff: crypto/hmac_openssl.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_openssl.cc
diff --git a/crypto/hmac_openssl.cc b/crypto/hmac_openssl.cc
index 6fbc4374c8556660342f82dc13a11eafb6d98e5c..8b7b96d69b7a428ee267826b8fe10a080a19a1e5 100644
--- a/crypto/hmac_openssl.cc
+++ b/crypto/hmac_openssl.cc
@@ -42,7 +42,7 @@ HMAC::~HMAC() {
bool HMAC::Sign(const std::string& data,
unsigned char* digest,
- int digest_length) {
+ int digest_length) const {
DCHECK_GE(digest_length, 0);
DCHECK(!plat_->key.empty()); // Init must be called before Sign.
« no previous file with comments | « crypto/hmac_nss.cc ('k') | crypto/hmac_win.cc » ('j') | crypto/symmetric_key_mac.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698