aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_init_blake256_hasher.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libhashsum_init_blake256_hasher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhashsum_init_blake256_hasher.c b/libhashsum_init_blake256_hasher.c
index fd77878..39a8eb9 100644
--- a/libhashsum_init_blake256_hasher.c
+++ b/libhashsum_init_blake256_hasher.c
@@ -96,7 +96,7 @@ libhashsum_init_blake256_hasher(struct libhashsum_hasher *this, const void *salt
{
libblake_init();
this->algorithm = LIBHASHSUM_BLAKE256;
- this->algorithm_string = mkalgostr(this->state.blake224.algostr, "BLAKE256", salt);
+ this->algorithm_string = mkalgostr(this->state.blake256.algostr, "BLAKE256", salt);
this->input_block_size = 64U;
this->hash_size = LIBHASHSUM_BLAKE256_HASH_SIZE;
this->hash_output = NULL;