diff options
Diffstat (limited to 'base/sha1_portable.cc')
-rw-r--r-- | base/sha1_portable.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/base/sha1_portable.cc b/base/sha1_portable.cc index d0f3c1c..cc05a5c9 100644 --- a/base/sha1_portable.cc +++ b/base/sha1_portable.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -99,6 +99,11 @@ static inline void swapends(uint32* t) { const int SecureHashAlgorithm::kDigestSizeBytes = 20; void SecureHashAlgorithm::Init() { + A = 0; + B = 0; + C = 0; + D = 0; + E = 0; cursor = 0; l = 0; H[0] = 0x67452301; |