diff options
Diffstat (limited to 'src/crypto/sha1.h')
-rw-r--r-- | src/crypto/sha1.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/sha1.h b/src/crypto/sha1.h index 6ef0187efd..741cdaad58 100644 --- a/src/crypto/sha1.h +++ b/src/crypto/sha1.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2016 The Bitcoin Core developers +// Copyright (c) 2014-2022 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -14,7 +14,7 @@ class CSHA1 private: uint32_t s[5]; unsigned char buf[64]; - uint64_t bytes; + uint64_t bytes{0}; public: static const size_t OUTPUT_SIZE = 20; |