summaryrefslogtreecommitdiffstats
path: root/base/hmac_nss.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/hmac_nss.cc')
-rw-r--r--base/hmac_nss.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/hmac_nss.cc b/base/hmac_nss.cc
index 2ca4f67..af0b3eb 100644
--- a/base/hmac_nss.cc
+++ b/base/hmac_nss.cc
@@ -36,6 +36,9 @@ HMAC::HMAC(HashAlgorithm hash_alg)
}
}
+HMAC::~HMAC() {
+}
+
bool HMAC::Init(const unsigned char *key, int key_length) {
base::EnsureNSSInit();
@@ -70,9 +73,6 @@ bool HMAC::Init(const unsigned char *key, int key_length) {
return true;
}
-HMAC::~HMAC() {
-}
-
bool HMAC::Sign(const std::string& data,
unsigned char* digest,
int digest_length) {