diff options
Diffstat (limited to 'libhashsum_init_sha2_hasher.c')
-rw-r--r-- | libhashsum_init_sha2_hasher.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhashsum_init_sha2_hasher.c b/libhashsum_init_sha2_hasher.c index b76f059..f06c59b 100644 --- a/libhashsum_init_sha2_hasher.c +++ b/libhashsum_init_sha2_hasher.c @@ -95,6 +95,7 @@ libhashsum_init_sha2_hasher(struct libhashsum_hasher *this, unsigned algobits, s this->process = &process; this->finalise_const = &finalise_const; this->finalise = &finalise; + this->destroy = NULL; libsha2_init(&this->state.sha2.s, algo); return 0; } |