aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_get_algorithm_from_string.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-30 17:20:30 +0200
committerMattias Andrée <maandree@kth.se>2024-08-30 17:20:30 +0200
commit87437d71b36518dac5086f8cc92480935e4cf60b (patch)
tree8cabd9b8871320216d371aa7c0e8774fd06d91f4 /libhashsum_get_algorithm_from_string.c
parentm + add support for z parameter for keccak (diff)
downloadlibhashsum-87437d71b36518dac5086f8cc92480935e4cf60b.tar.gz
libhashsum-87437d71b36518dac5086f8cc92480935e4cf60b.tar.bz2
libhashsum-87437d71b36518dac5086f8cc92480935e4cf60b.tar.xz
m + add man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libhashsum_get_algorithm_from_string.c (renamed from libhashsum_get_algorithm_string.c)2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhashsum_get_algorithm_string.c b/libhashsum_get_algorithm_from_string.c
index 5f910be..96892e1 100644
--- a/libhashsum_get_algorithm_string.c
+++ b/libhashsum_get_algorithm_from_string.c
@@ -25,7 +25,7 @@ equiv(const char *a, const char *b)
int
-libhashsum_get_algorithm_string(enum libhashsum_algorithm *algorithm_out, const char *algorithm)
+libhashsum_get_algorithm_from_string(enum libhashsum_algorithm *algorithm_out, const char *algorithm)
{
if (equiv(algorithm, "MD2"))
*algorithm_out = LIBHASHSUM_MD2;