aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_init_sha2_hasher.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhashsum_init_sha2_hasher.c')
-rw-r--r--libhashsum_init_sha2_hasher.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhashsum_init_sha2_hasher.c b/libhashsum_init_sha2_hasher.c
index ca455c3..e6aab61 100644
--- a/libhashsum_init_sha2_hasher.c
+++ b/libhashsum_init_sha2_hasher.c
@@ -96,6 +96,7 @@ libhashsum_init_sha2_hasher(struct libhashsum_hasher *this, unsigned algobits, s
this->supports_non_whole_bytes = 1;
this->standard_partial_byte_input_encoding = LIBHASHSUM_LEAST_SIGNIFICANT;
this->standard_partial_byte_output_encoding = LIBHASHSUM_UNSUPPORTED;
+ this->hash_excess_bits = 0;
this->process = &process;
this->finalise_const = &finalise_const;
this->finalise = &finalise;