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

Unified Diff: base/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: sigh-nedness 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_openssl.cc
diff --git a/base/hmac_openssl.cc b/base/hmac_openssl.cc
index 64ce177f79a7229b74bd957c8eafce5034e860ad..162a87ad9a1a35b32be4be4162310d0e62c0385a 100644
--- a/base/hmac_openssl.cc
+++ b/base/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.

Powered by Google App Engine
This is Rietveld 408576698