diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-09-08T14·55+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-09-08T14·55+0200 |
commit | 3ed8290e5331011609de462bda67857837998583 (patch) | |
tree | a8504108fec7478241232edef0a0bd71b1a91175 /src/nix-store/nix-store.cc | |
parent | e02edb14836fda29019adf95073092d874ebd925 (diff) |
LegacySSHStore: Include signatures etc.
Diffstat (limited to 'src/nix-store/nix-store.cc')
-rw-r--r-- | src/nix-store/nix-store.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc index 1668fdb2d037..85bcbc22e9db 100644 --- a/src/nix-store/nix-store.cc +++ b/src/nix-store/nix-store.cc @@ -858,6 +858,8 @@ static void opServe(Strings opFlags, Strings opArgs) // !!! Maybe we want compression? out << info->narSize // downloadSize << info->narSize; + if (GET_PROTOCOL_MINOR(clientVersion) >= 4) + out << (info->narHash ? info->narHash.to_string() : "") << info->ca << info->sigs; } catch (InvalidPath &) { } } |