]> Cypherpunks repositories - gostls13.git/commit
encoding/asn1: allow lengths up to the maximum int value.
authorAdam Langley <agl@golang.org>
Wed, 18 Apr 2012 17:41:11 +0000 (13:41 -0400)
committerAdam Langley <agl@golang.org>
Wed, 18 Apr 2012 17:41:11 +0000 (13:41 -0400)
commit6742d0a085021d9638a4d59dd8fb562aec8d51a8
tree86be842f179e4418b0d1612d8e8e651f680dff3b
parentb65c9a633ef594b171cb11b823f3d96f47d9f4e3
encoding/asn1: allow lengths up to the maximum int value.

Previously we capped lengths at 2**24 rather than 2**31.

R=golang-dev, r, r
CC=golang-dev
https://golang.org/cl/6050050
src/pkg/encoding/asn1/asn1.go
src/pkg/encoding/asn1/asn1_test.go