Dave Cheney 7343d5f584 go.crypto/ssh: improve channel max packet handling
This proposal moves the check for max packet into
channel.writePacket. Callers should be aware they cannot
pass a buffer larger than max packet. This is only a
concern to chanWriter.Write and appropriate guards are
already in place.

There was some max packet handling in transport.go but it was
incorrect. This has been removed.

This proposal also cleans up session_test.go.

R=gustav.paul, agl, fullung, huin
CC=golang-dev
https://golang.org/cl/6460075
2012-08-13 08:22:53 +10:00
2012-07-16 09:37:31 -04:00
2012-01-25 15:31:12 -05:00
2012-07-27 12:54:55 -04:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-07-26 19:56:54 -04:00
2012-02-01 14:20:27 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-07-12 11:14:12 -04:00
2012-03-17 15:19:30 +11:00
2012-01-25 15:31:12 -05:00

This repository holds supplementary Go cryptography libraries.

To submit changes to this repository, see http://golang.org/doc/contribute.html.
S
Description
Mirror of ys-ll/crypto (GitHub), kept for paraterm builds
https://golang.org/x/crypto
Readme BSD-3-Clause
8.1 MiB
Languages
Go 88.6%
Assembly 11.1%
C 0.3%