diff options
author | Bruno Haible <bruno@clisp.org> | 2018-05-05 18:13:16 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2018-05-05 18:13:16 +0200 |
commit | abe288ce682dea7046c6ee4cb64d59945f548ce3 (patch) | |
tree | d3397db166fc4a285b0f0a28878e900a0d062610 /lib/sha1.c | |
parent | ba0ffea058b58bd9634173db48452884ee077da8 (diff) | |
download | gnulib-abe288ce682dea7046c6ee4cb64d59945f548ce3.tar.gz |
af_alg: Improve function signature.
* lib/af_alg.h (afalg_stream): Swap second and third argument.
* lib/af_alg.c (afalg_stream): Likewise.
* lib/md5.c, lib/sha1.c, lib/sha256.c, lib/sha512.c: Callers changed.
Diffstat (limited to 'lib/sha1.c')
-rw-r--r-- | lib/sha1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sha1.c b/lib/sha1.c index a84bf211ad..b670267c2b 100644 --- a/lib/sha1.c +++ b/lib/sha1.c @@ -138,7 +138,7 @@ sha1_stream (FILE *stream, void *resblock) #ifdef HAVE_LINUX_IF_ALG_H int ret; - ret = afalg_stream(stream, resblock, "sha1", SHA1_DIGEST_SIZE); + ret = afalg_stream (stream, "sha1", resblock, SHA1_DIGEST_SIZE); if (!ret) return 0; |