summaryrefslogtreecommitdiff
path: root/nix/libutil/sha1.h
diff options
context:
space:
mode:
Diffstat (limited to 'nix/libutil/sha1.h')
-rw-r--r--nix/libutil/sha1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/libutil/sha1.h b/nix/libutil/sha1.h
index 8af92725ea..0eca8e310d 100644
--- a/nix/libutil/sha1.h
+++ b/nix/libutil/sha1.h
@@ -31,5 +31,5 @@ SHA1_Init (struct SHA_CTX *ctx)
static inline void
SHA1_Final (void *resbuf, struct SHA_CTX *ctx)
{
- guix_hash_final (ctx, ctx, GCRY_MD_SHA1);
+ guix_hash_final (resbuf, ctx, GCRY_MD_SHA1);
}