diff options
Diffstat (limited to 'libhashsum_init_hasher_from_string.c')
-rw-r--r-- | libhashsum_init_hasher_from_string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhashsum_init_hasher_from_string.c b/libhashsum_init_hasher_from_string.c index 0eaa12e..c4bf441 100644 --- a/libhashsum_init_hasher_from_string.c +++ b/libhashsum_init_hasher_from_string.c @@ -158,7 +158,7 @@ int libhashsum_init_hasher_from_string(struct libhashsum_hasher *this, const char *algorithm) { enum libhashsum_algorithm algo; - if (!libhashsum_get_algorithm_string(&algo, algorithm)) { + if (!libhashsum_get_algorithm_from_string(&algo, algorithm)) { errno = EINVAL; return -1; } |