summaryrefslogtreecommitdiffstats
path: root/crypto/hmac_nss.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/hmac_nss.cc')
-rw-r--r--crypto/hmac_nss.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hmac_nss.cc b/crypto/hmac_nss.cc
index 957f9db..722fcf1 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();