aboutsummaryrefslogtreecommitdiff
path: root/nix/libutil/md5.h
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-12-04 23:10:54 +0100
committerLudovic Courtès <ludo@gnu.org>2012-12-04 23:51:48 +0100
commit0adb527600a40055383970330f572e9f0399cd75 (patch)
tree23a0d9e9a76091fc49bc0c241fcbbe0af7cc722d /nix/libutil/md5.h
parent5f25049e9c2002eb808d2f15306d0ac102f05415 (diff)
downloadpatches-0adb527600a40055383970330f572e9f0399cd75.tar
patches-0adb527600a40055383970330f572e9f0399cd75.tar.gz
daemon: Fix typo in libgcrypt bindings.
* nix/libutil/md5.h (MD5_Final): Pass RESBUF as the first argument to `guix_hash_final'. * nix/libutil/sha1.h (SHA1_Final): Likewise. * nix/libutil/sha256.h (SHA256_Final): Likewise.
Diffstat (limited to 'nix/libutil/md5.h')
-rw-r--r--nix/libutil/md5.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/libutil/md5.h b/nix/libutil/md5.h
index c275e381f8..7fa29087d7 100644
--- a/nix/libutil/md5.h
+++ b/nix/libutil/md5.h
@@ -31,5 +31,5 @@ MD5_Init (struct MD5_CTX *ctx)
static inline void
MD5_Final (void *resbuf, struct MD5_CTX *ctx)
{
- guix_hash_final (ctx, ctx, GCRY_MD_MD5);
+ guix_hash_final (resbuf, ctx, GCRY_MD_MD5);
}