diff options
author | Mattias Andrée <maandree@kth.se> | 2019-02-09 20:02:16 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-02-09 20:02:16 +0100 |
commit | 9475c19921162986119ee69eba8bfa2a9832d551 (patch) | |
tree | 285c9cbd0a824d2bfb480431b33099e2a80e35bf /sum_fd.c | |
parent | Add HMAC to TODO (diff) | |
download | libsha2-9475c19921162986119ee69eba8bfa2a9832d551.tar.gz libsha2-9475c19921162986119ee69eba8bfa2a9832d551.tar.bz2 libsha2-9475c19921162986119ee69eba8bfa2a9832d551.tar.xz |
Minor changes, add man pages, rename libsha2_state_initialise to libsha2_init
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | sum_fd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |