aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_init_sha1_hasher.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhashsum_init_sha1_hasher.c')
-rw-r--r--libhashsum_init_sha1_hasher.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhashsum_init_sha1_hasher.c b/libhashsum_init_sha1_hasher.c
index 023e856..91bcc15 100644
--- a/libhashsum_init_sha1_hasher.c
+++ b/libhashsum_init_sha1_hasher.c
@@ -66,6 +66,7 @@ libhashsum_init_sha1_hasher(struct libhashsum_hasher *this)
this->process = &process;
this->finalise_const = &finalise_const;
this->finalise = &finalise;
+ this->destroy = NULL;
libsha1_init(&this->state.sha1.s, LIBSHA1_1);
return 0;
}