╭ changed ───────╮ │src/test/ssh.zig│ ╰────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────╮ │242 defer req.deinit(allocator); │ │243 try req.append(allocator, proto.SSH_MSG_SERVICE_REQUEST); │ │244 try proto.writeStringField(&req, allocator, "ssh-userauth");│ │245 - try cs_cipher.writePacket(io, allocator, cw, req.items); │ │245 + try cs_cipher.writePacket(io, cw, req.items); │ │246 } │ │247 { │ │248 const accept = try sc_cipher.readPacket(allocator, cr); │ ╰─────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────╮ │271 try req.append(allocator, 0); // has_signature = false │ │272 try proto.writeStringField(&req, allocator, "ssh-ed25519"); │ │273 try proto.writeStringField(&req, allocator, user_pubkey_blob.items);│ │274 - try cs_cipher.writePacket(io, allocator, cw, req.items); │ │274 + try cs_cipher.writePacket(io, cw, req.items); │ │275 } │ │276 { │ │277 const pk_ok = try sc_cipher.readPacket(allocator, cr); │ ╰─────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────╮ │307 try proto.writeStringField(&req, allocator, "ssh-ed25519"); │ │308 try proto.writeStringField(&req, allocator, user_pubkey_blob.items);│ │309 try proto.writeStringField(&req, allocator, sig_wire.items); │ │310 - try cs_cipher.writePacket(io, allocator, cw, req.items); │ │310 + try cs_cipher.writePacket(io, cw, req.items); │ │311 } │ │312 { │ │313 const success = try sc_cipher.readPacket(allocator, cr); │ ╰─────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────╮ │333 try proto.writeU32(&req, allocator, client_channel_id); │ │334 try proto.writeU32(&req, allocator, 1 << 20); // initial window│ │335 try proto.writeU32(&req, allocator, 32768); // max packet │ │336 - try cs_cipher.writePacket(io, allocator, cw, req.items); │ │336 + try cs_cipher.writePacket(io, cw, req.items); │ │337 } │ │338 var server_channel_id: u32 = undefined; │ │339 { │ ╰────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────╮ │360 try proto.writeStringField(&req, allocator, "exec"); │ │361 try req.append(allocator, 1); // want_reply │ │362 try proto.writeStringField(&req, allocator, exec_command);│ │363 - try cs_cipher.writePacket(io, allocator, cw, req.items); │ │363 + try cs_cipher.writePacket(io, cw, req.items); │ │364 } │ │365 { │ │366 const success = try sc_cipher.readPacket(allocator, cr); │ ╰───────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────╮ │407 defer pkt.deinit(allocator); │ │408 try pkt.append(allocator, proto.SSH_MSG_CHANNEL_CLOSE); │ │409 try proto.writeU32(&pkt, allocator, server_channel_id); │ │410 - try cs_cipher.writePacket(io, allocator, cw, pkt.items); │ │410 + try cs_cipher.writePacket(io, cw, pkt.items); │ │411 } │ │412 │ │413 // simulate the client's TCP FIN so the server's teardown drain reads EOF│ ╰──────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────╮ │541 defer req.deinit(allocator); │ │542 try req.append(allocator, proto.SSH_MSG_SERVICE_REQUEST); │ │543 try proto.writeStringField(&req, allocator, "ssh-userauth");│ │544 - try cs.writePacket(io, allocator, cw, req.items); │ │544 + try cs.writePacket(io, cw, req.items); │ │545 } │ │546 { │ │547 const accept = try sc.readPacket(allocator, cr); │ ╰─────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────╮ │568 try req.append(allocator, 0); │ │569 try proto.writeStringField(&req, allocator, "ssh-ed25519"); │ │570 try proto.writeStringField(&req, allocator, pubkey_blob.items);│ │571 - try cs.writePacket(io, allocator, cw, req.items); │ │571 + try cs.writePacket(io, cw, req.items); │ │572 } │ │573 { │ │574 const pk_ok = try sc.readPacket(allocator, cr); │ ╰────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────╮ │614 try proto.writeStringField(&req, allocator, "ssh-ed25519"); │ │615 try proto.writeStringField(&req, allocator, pubkey_blob.items);│ │616 try proto.writeStringField(&req, allocator, sig_wire.items); │ │617 - try cs.writePacket(io, allocator, cw, req.items); │ │617 + try cs.writePacket(io, cw, req.items); │ │618 │ │619 const reply = try sc.readPacket(allocator, cr); │ │620 defer allocator.free(reply); │ ╰────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────╮ │635 try proto.writeU32(&req, allocator, case.id); │ │636 try proto.writeU32(&req, allocator, 1 << 20); │ │637 try proto.writeU32(&req, allocator, 32768); │ │638 - try cs.writePacket(io, allocator, cw, req.items);│ │638 + try cs.writePacket(io, cw, req.items); │ │639 │ │640 const reply = try sc.readPacket(allocator, cr); │ │641 defer allocator.free(reply); │ ╰──────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯