daemon: Remove OpenSSL hash compatibility wrappers.
authorLudovic Courtès <ludo@gnu.org>
Tue, 23 Jun 2020 10:11:00 +0000 (12:11 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 27 Jun 2020 21:42:20 +0000 (23:42 +0200)
commit8dc6c387852bb9505be44567a5f56913633cc23a
tree872914ede2ea33f72f8c09b2c3517fdf92ee85f5
parent3fb6b8f30444d41963ba5bdd441123a6d2df17bd
daemon: Remove OpenSSL hash compatibility wrappers.

* nix/libutil/hash.cc (struct Ctx): Copy from gcrypt-hash.hh.
(start, update, finish): Use gcrypt functions directly instead of
OpenSSL-like wrappers.
* nix/libutil/gcrypt-hash.cc, nix/libutil/gcrypt-hash.hh,
nix/libutil/md5.h, nix/libutil/sha1.h, nix/libutil/sha256.h,
nix/libutil/sha512.h: Remove.
* nix/local.mk (libutil_a_SOURCES, libutil_headers): Adjust
accordingly.
nix/libutil/gcrypt-hash.cc [deleted file]
nix/libutil/gcrypt-hash.hh [deleted file]
nix/libutil/hash.cc
nix/libutil/md5.h [deleted file]
nix/libutil/sha1.h [deleted file]
nix/libutil/sha256.h [deleted file]
nix/libutil/sha512.h [deleted file]
nix/local.mk