guix-kreyren/nix/libutil
Ludovic Courtès 0c5028faea 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'.
2013-12-19 00:02:49 +01:00
..
.gitignore
gcrypt-hash.cc daemon: Fix 'HashSink::currentHash()'. 2013-12-19 00:02:49 +01:00
gcrypt-hash.hh daemon: Fix 'HashSink::currentHash()'. 2013-12-19 00:02:49 +01:00
md5.h
sha1.h
sha256.h