mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
Apply suggestions from code review
Co-authored-by: Matthew Bauer <mjbauer95@gmail.com>
This commit is contained in:
parent
a5d820a0a3
commit
25e61812f3
5 changed files with 7 additions and 15 deletions
|
@ -114,11 +114,7 @@ struct LegacySSHStore : public Store
|
|||
if (GET_PROTOCOL_MINOR(conn->remoteVersion) >= 4) {
|
||||
auto s = readString(conn->from);
|
||||
info->narHash = s.empty() ? Hash() : Hash(s);
|
||||
{
|
||||
std::string rawCaOpt;
|
||||
conn->from >> rawCaOpt;
|
||||
info->ca = parseContentAddressOpt(rawCaOpt);
|
||||
}
|
||||
info->ca = parseContentAddressOpt(readString(conn->from));
|
||||
info->sigs = readStrings<StringSet>(conn->from);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue