]> Cypherpunks repositories - gostls13.git/commit
asn1: allow '*' in PrintableString.
authorAdam Langley <agl@golang.org>
Thu, 10 Jun 2010 00:52:41 +0000 (20:52 -0400)
committerAdam Langley <agl@golang.org>
Thu, 10 Jun 2010 00:52:41 +0000 (20:52 -0400)
commit5f0319c0a64672f6fa761bfb2258915d2bac0dee
treea0b14784255dd28a78d7c19a65155ab4795332bb
parentfb279e73471738b80e1cacab1f6a7c9d55bccb70
asn1: allow '*' in PrintableString.

Although technically incorrect, we want this in order to parse X.509
certificates where a wildcard hostname ("*.example.com") has been put
into a PrintableString.

Fixes #850.

R=rsc
CC=golang-dev
https://golang.org/cl/1615043
src/pkg/asn1/asn1.go
src/pkg/asn1/marshal_test.go