aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-12-18 21:48:57 +0100
committerLudovic Courtès <ludo@gnu.org>2013-12-19 00:02:49 +0100
commit0c5028faea7e5c08c920f8ea31f02e7923b8c2d8 (patch)
treeeb48ffdc6c937bed19a81091dcd5d4cfad1e86b8 /Makefile.am
parent37dd969c2eff527e21e2d277b3f4433111a0ca9e (diff)
downloadpatches-0c5028faea7e5c08c920f8ea31f02e7923b8c2d8.tar
patches-0c5028faea7e5c08c920f8ea31f02e7923b8c2d8.tar.gz
daemon: Fix 'HashSink::currentHash()'.
Before that, calls to 'HashSink::currentHash()' would eventually lead to a segfault because the underlying gcrypt handle has been closed. (Note that this method is only used via 'importPaths' and 'exportPath', though.) * nix/libutil/gcrypt-hash.hh (struct guix_hash_context): Add a constructor and a copy constructor; move out of 'extern "C"'. * nix/libutil/gcrypt-hash.cc (guix_hash_final): Clear 'md_handle' upon exit. * nix/sync-with-upstream (top_srcdir): Change hash.{cc,hh} to read 'struct Ctx' instead of 'union Ctx'.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions