From 9475c19921162986119ee69eba8bfa2a9832d551 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 9 Feb 2019 20:02:16 +0100 Subject: Minor changes, add man pages, rename libsha2_state_initialise to libsha2_init MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- sum_fd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sum_fd.c') diff --git a/sum_fd.c b/sum_fd.c index 381a634..35d4121 100644 --- a/sum_fd.c +++ b/sum_fd.c @@ -20,7 +20,7 @@ libsha2_sum_fd(int fd, enum libsha2_algorithm algorithm, char *restrict hashsum) size_t blksize = 4096; char *restrict chunk; - if (libsha2_state_initialise(&state, algorithm) < 0) + if (libsha2_init(&state, algorithm) < 0) return -1; if (fstat(fd, &attr) == 0 && attr.st_blksize > 0) -- cgit v1.2.3-70-g09d2