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

Unified Diff: crypto/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: 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_nss.cc
diff --git a/crypto/hmac_nss.cc b/crypto/hmac_nss.cc
index 957f9db81cb43a8454f59abec337cfde24f16e4b..722fcf1c75741b038c1963725bfce776b91fcdd6 100644
--- a/crypto/hmac_nss.cc
+++ b/crypto/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();
« no previous file with comments | « crypto/hmac_mac.cc ('k') | crypto/hmac_openssl.cc » ('j') | crypto/symmetric_key_mac.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698