aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_init_sha1_hasher.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 a3aef8e..023e856 100644
--- a/libhashsum_init_sha1_hasher.c
+++ b/libhashsum_init_sha1_hasher.c
@@ -58,6 +58,7 @@ int
libhashsum_init_sha1_hasher(struct libhashsum_hasher *this)
{
this->algorithm = LIBHASHSUM_SHA1;
+ this->algorithm_string = "SHA1";
this->input_block_size = 64U;
this->hash_size = sizeof(this->state.sha1.sum);
this->hash_output = NULL;