]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: fix decoding of certLen in certificateMsg.unmarshal
authorMichael Gehring <mg@ebfe.org>
Mon, 14 May 2012 16:26:29 +0000 (12:26 -0400)
committerAdam Langley <agl@golang.org>
Mon, 14 May 2012 16:26:29 +0000 (12:26 -0400)
commit99142f55370650fcdf1ecc742a5c3c26fdd1200f
treee382ab554cb9d61a6eae1ab3a0439dbe6d98bd88
parent02d2b4466f88914c30b4ca5f54538464d404cd3a
crypto/tls: fix decoding of certLen in certificateMsg.unmarshal

certLen was decoded incorrectly if length > 2^16-1.

R=golang-dev, agl
CC=golang-dev
https://golang.org/cl/6197077
src/pkg/crypto/tls/handshake_messages.go