summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/util/crypto_helpers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/util/crypto_helpers.cc')
-rw-r--r--chrome/browser/sync/util/crypto_helpers.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/sync/util/crypto_helpers.cc b/chrome/browser/sync/util/crypto_helpers.cc
index 9315d8b..b01e01f 100644
--- a/chrome/browser/sync/util/crypto_helpers.cc
+++ b/chrome/browser/sync/util/crypto_helpers.cc
@@ -21,8 +21,6 @@ MD5Calculator::MD5Calculator() {
MD5Init(&context_);
}
-MD5Calculator::~MD5Calculator() {}
-
void MD5Calculator::AddData(const unsigned char* data, int length) {
CHECK(bin_digest_.empty());
MD5Update(&context_, data, length);
@@ -36,7 +34,7 @@ void MD5Calculator::CalcDigest() {
}
}
-const vector<uint8>& MD5Calculator::GetDigest() {
+vector<uint8> MD5Calculator::GetDigest() {
CalcDigest();
return bin_digest_;
}