summary refs log tree commit diff
path: root/nix/libutil/hash.hh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-09-10 16:46:52 +0200
committerLudovic Courtès <ludo@gnu.org>2020-09-14 15:42:55 +0200
commit27cc51c269fbe9d2ca65711d281c63ae441a9b4a (patch)
tree16b97c8c44636aa9518ad238dbed9aef828e8e64 /nix/libutil/hash.hh
parent7809071c822589dfc3c65c539760e92936c41073 (diff)
downloadguix-27cc51c269fbe9d2ca65711d281c63ae441a9b4a.tar.gz
daemon: Isolate signing and signature verification functions.
* nix/libstore/local-store.cc (signHash, verifySignature): New
functions.
(LocalStore::exportPath): Use 'signHash' instead of inline code.
(LocalStore::importPath): Use 'verifySignature' instead of inline code.
Diffstat (limited to 'nix/libutil/hash.hh')
0 files changed, 0 insertions, 0 deletions