summary refs log tree commit diff
path: root/nix/libutil/affinity.cc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-06-23 11:46:05 +0200
committerLudovic Courtès <ludo@gnu.org>2020-06-27 23:42:20 +0200
commit3fb6b8f30444d41963ba5bdd441123a6d2df17bd (patch)
tree0159dc3f3ceefdbe75e42587afc6d711a7c460dc /nix/libutil/affinity.cc
parent4b4f890cb03d7c5b958fe08553dfad2f39a1d4f2 (diff)
downloadguix-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/libutil/affinity.cc')
0 files changed, 0 insertions, 0 deletions