1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 04:43:53 +02:00

LegacySSHStore: Include signatures etc.

This commit is contained in:
Eelco Dolstra 2017-09-08 16:55:27 +02:00
parent e02edb1483
commit 3ed8290e53
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 10 additions and 1 deletions

View file

@ -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 &) {
}
}