From f435f8247553656774dd1b2c88e9de5d59cab203 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 3 May 2016 15:11:14 +0200 Subject: Remove OpenSSL-based signing --- src/nix-daemon/nix-daemon.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/nix-daemon/nix-daemon.cc') diff --git a/src/nix-daemon/nix-daemon.cc b/src/nix-daemon/nix-daemon.cc index 3c2e0521028c..60ad85a68831 100644 --- a/src/nix-daemon/nix-daemon.cc +++ b/src/nix-daemon/nix-daemon.cc @@ -312,10 +312,10 @@ static void performOp(ref store, bool trusted, unsigned int clientVe case wopExportPath: { Path path = readStorePath(from); - bool sign = readInt(from) == 1; + readInt(from); // obsolete startWork(); TunnelSink sink(to); - store->exportPath(path, sign, sink); + store->exportPath(path, sink); stopWork(); to << 1; break; @@ -324,7 +324,7 @@ static void performOp(ref store, bool trusted, unsigned int clientVe case wopImportPaths: { startWork(); TunnelSource source(from); - Paths paths = store->importPaths(!trusted, source, 0); + Paths paths = store->importPaths(source, 0); stopWork(); to << paths; break; -- cgit 1.4.1