summaryrefslogtreecommitdiff
path: root/nix/libutil/md5.h
diff options
context:
space:
mode:
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);
}