diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-12-18 21:29:00 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-12-19 00:02:49 +0100 |
commit | 37dd969c2eff527e21e2d277b3f4433111a0ca9e (patch) | |
tree | 8bcbe58e452c21d2fd18014b1ccd40130edc93fa /nix | |
parent | 7eb71d7a3d1dd7cd4b1db19f920c863e58c101e9 (diff) | |
download | gnu-guix-37dd969c2eff527e21e2d277b3f4433111a0ca9e.tar gnu-guix-37dd969c2eff527e21e2d277b3f4433111a0ca9e.tar.gz |
daemon: Add libgcrypt call to state that the initialization is over.
* nix/nix-daemon/guix-daemon.cc (main): Add 'gcry_control' call.
Diffstat (limited to 'nix')
-rw-r--r-- | nix/nix-daemon/guix-daemon.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nix/nix-daemon/guix-daemon.cc b/nix/nix-daemon/guix-daemon.cc index 4f9fa4c525..484a390936 100644 --- a/nix/nix-daemon/guix-daemon.cc +++ b/nix/nix-daemon/guix-daemon.cc @@ -195,6 +195,10 @@ main (int argc, char *argv[]) exit (EXIT_FAILURE); } + /* Tell Libgcrypt that initialization has completed, as per the Libgcrypt + 1.6.0 manual (although this does not appear to be strictly needed.) */ + gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); + /* Set the umask so that the daemon does not end up creating group-writable files, which would lead to "suspicious ownership or permission" errors. See <http://lists.gnu.org/archive/html/bug-guix/2013-07/msg00033.html>. */ |