summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus
diff options
context:
space:
mode:
authorxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-29 07:01:41 +0000
committerxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-29 07:01:41 +0000
commit72fb41235b2bd449bcfe635a7088d8579278f5be (patch)
treec6ec34928595f02df18322071da6ef38dfa75dc8 /chromeos/dbus
parentece13542f84a0a4ab00a10c861dd32d6f8a1a1f7 (diff)
downloadchromium_src-72fb41235b2bd449bcfe635a7088d8579278f5be.zip
chromium_src-72fb41235b2bd449bcfe635a7088d8579278f5be.tar.gz
chromium_src-72fb41235b2bd449bcfe635a7088d8579278f5be.tar.bz2
Make system salt length of stub dbus client impl even.
TBR=davemoore@chromium.org BUG=224754 Review URL: https://chromiumcodereview.appspot.com/13136003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191321 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus')
-rw-r--r--chromeos/dbus/cryptohome_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromeos/dbus/cryptohome_client.cc b/chromeos/dbus/cryptohome_client.cc
index 6d9c1d4..0e140be 100644
--- a/chromeos/dbus/cryptohome_client.cc
+++ b/chromeos/dbus/cryptohome_client.cc
@@ -665,7 +665,7 @@ class CryptohomeClientStubImpl : public CryptohomeClient {
virtual bool GetSystemSalt(std::vector<uint8>* salt) OVERRIDE {
const char kStubSystemSalt[] = "stub_system_salt";
salt->assign(kStubSystemSalt,
- kStubSystemSalt + arraysize(kStubSystemSalt));
+ kStubSystemSalt + arraysize(kStubSystemSalt) - 1);
return true;
}