diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-06-23 11:46:05 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-06-27 23:42:20 +0200 |
commit | 3fb6b8f30444d41963ba5bdd441123a6d2df17bd (patch) | |
tree | 0159dc3f3ceefdbe75e42587afc6d711a7c460dc /nix/nix-daemon | |
parent | 4b4f890cb03d7c5b958fe08553dfad2f39a1d4f2 (diff) | |
download | guix-3fb6b8f30444d41963ba5bdd441123a6d2df17bd.tar guix-3fb6b8f30444d41963ba5bdd441123a6d2df17bd.tar.gz |
daemon: Map directly to gcrypt hash functions.
* nix/libutil/hash.hh (HashType): Map directly to GCRY_MD_ values.
(md5HashSize, sha1HashSize, sha256HashSize, sha512HashSize): Remove.
* nix/libutil/hash.cc (Hash::Hash): Use 'gcry_md_get_algo_dlen'.
Diffstat (limited to 'nix/nix-daemon')
0 files changed, 0 insertions, 0 deletions