guix/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 build: Include a copy of Nix's libstore and daemon; build it. 2012-12-03 23:05:08 +01:00
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 Update license headers. 2013-01-06 00:47:50 +01:00
sha1.h Update license headers. 2013-01-06 00:47:50 +01:00
sha256.h Update license headers. 2013-01-06 00:47:50 +01:00