summaryrefslogtreecommitdiff
path: root/src/libsodium/crypto_hash/sha256/cp/hash_sha256.c
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2014-11-11 11:18:18 -0500
committerMicah Anderson <micah@riseup.net>2014-11-11 11:18:18 -0500
commitc73b6c9ba513fea3e18b696e659049df69931171 (patch)
treea001cd6acbecead76b9a55f324278e8d077fe3d5 /src/libsodium/crypto_hash/sha256/cp/hash_sha256.c
parenteabdc6e3d62550679476899dd861c23b63937142 (diff)
update to 1.0.0-1 version of the package
Diffstat (limited to 'src/libsodium/crypto_hash/sha256/cp/hash_sha256.c')
-rw-r--r--src/libsodium/crypto_hash/sha256/cp/hash_sha256.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsodium/crypto_hash/sha256/cp/hash_sha256.c b/src/libsodium/crypto_hash/sha256/cp/hash_sha256.c
index 721bbe9..738794a 100644
--- a/src/libsodium/crypto_hash/sha256/cp/hash_sha256.c
+++ b/src/libsodium/crypto_hash/sha256/cp/hash_sha256.c
@@ -245,9 +245,11 @@ crypto_hash_sha256_update(crypto_hash_sha256_state *state,
bitlen[1] = ((uint32_t)inlen) << 3;
bitlen[0] = (uint32_t)(inlen >> 29);
+ /* LCOV_EXCL_START */
if ((state->count[1] += bitlen[1]) < bitlen[1]) {
state->count[0]++;
}
+ /* LCOV_EXCL_STOP */
state->count[0] += bitlen[0];
if (inlen < 64 - r) {