diff options
| author | christopher-henderson <chris@chenderson.org> | 2017-12-01 16:17:16 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-12-05 18:22:53 +0000 |
| commit | eb441e6d21b31c44d577dd013bc014f0882afc90 (patch) | |
| tree | c2b25ce2a689cc7d16ad2db5048d294a2a898e63 /src/encoding/csv/reader_test.go | |
| parent | bcf964de5e16486cec2e102c929768778f50eea2 (diff) | |
| download | go-eb441e6d21b31c44d577dd013bc014f0882afc90.tar.xz | |
encoding/asn1: allow '&' in PrintableString fields
There are, unfortunately, intermediate CA ceritificates in circulation
that contain the invalid character '&' in some PrintableString fields,
notably Organization Name. This patch allows for ampersand
to be parsed as though it is valid in an ASN.1 PrintableString.
Fixes #22970
Change-Id: Ifab1a10bbff1cdac68e843c6b857ff1a031051aa
Reviewed-on: https://go-review.googlesource.com/81635
Reviewed-by: Adam Langley <agl@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Adam Langley <agl@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding/csv/reader_test.go')
0 files changed, 0 insertions, 0 deletions
