summary refs log tree commit diff
path: root/nix/libutil/sha256.h
diff options
context:
space:
mode:
Diffstat (limited to 'nix/libutil/sha256.h')
-rw-r--r--nix/libutil/sha256.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/libutil/sha256.h b/nix/libutil/sha256.h
index c436d6402c..a91f18f689 100644
--- a/nix/libutil/sha256.h
+++ b/nix/libutil/sha256.h
@@ -31,5 +31,5 @@ SHA256_Init (struct SHA256_CTX *ctx)
 static inline void
 SHA256_Final (void *resbuf, struct SHA256_CTX *ctx)
 {
-  guix_hash_final (ctx, ctx, GCRY_MD_SHA256);
+  guix_hash_final (resbuf, ctx, GCRY_MD_SHA256);
 }