]> Cypherpunks repositories - gostls13.git/commit
encoding/asn1: Fix parsing of non-printable strings in
authorJakob Borg <jakob@nym.se>
Wed, 18 Dec 2013 22:06:17 +0000 (17:06 -0500)
committerAdam Langley <agl@golang.org>
Wed, 18 Dec 2013 22:06:17 +0000 (17:06 -0500)
commit2b693b7c19e2f14c75b01b89bd2df31592e67d1e
tree72c2af91df033bd6292fc1b0af2c5dbeee24e0e4
parent17dc712c18fdba4bc88fe5adf56c3ace86c765ad
encoding/asn1: Fix parsing of non-printable strings in
sequences.

Use the same criteria for when to modify the tag type when
parsing a string in a sequence as when parsing a bare string
field.

Fixes #6726.

R=golang-dev, bradfitz, gobot, agl
CC=golang-dev
https://golang.org/cl/22460043
src/pkg/encoding/asn1/asn1.go
src/pkg/encoding/asn1/asn1_test.go