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

Unified Diff: base/hmac_nss.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_nss.cc
diff --git a/base/hmac_nss.cc b/base/hmac_nss.cc
index 658616bb1b7809be9399635af5e14e68724496cb..18b85e397a937a8f21542a35c45dbfe4827ec2a3 100644
--- a/base/hmac_nss.cc
+++ b/base/hmac_nss.cc
@@ -75,7 +75,7 @@ bool HMAC::Init(const unsigned char *key, int key_length) {
bool HMAC::Sign(const std::string& data,
unsigned char* digest,
- int digest_length) {
+ int digest_length) const {
if (!plat_->sym_key_.get()) {
// Init has not been called before Sign.
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698