HCoop
/
jackhill
/
guix
/
guix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' into core-updates
[jackhill/guix/guix.git]
/
nix
/
libutil
/
gcrypt-hash.cc
diff --git
a/nix/libutil/gcrypt-hash.cc
b/nix/libutil/gcrypt-hash.cc
index
553f633
..
c4ae7bf
100644
(file)
--- a/
nix/libutil/gcrypt-hash.cc
+++ b/
nix/libutil/gcrypt-hash.cc
@@
-45,6
+45,7
@@
guix_hash_final (void *resbuf, struct guix_hash_context *ctx,
memcpy (resbuf, gcry_md_read (ctx->md_handle, algo),
gcry_md_get_algo_dlen (algo));
gcry_md_close (ctx->md_handle);
+ ctx->md_handle = NULL;
}
}