Commit 37e802a7 authored by Adam Langley's avatar Adam Langley

asn1: accept UTF8 strings as ASN.1 ANY values

R=bradfitz
CC=golang-dev
https://golang.org/cl/5172042
parent c4b9c8bb
......@@ -516,6 +516,8 @@ func parseField(v reflect.Value, bytes []byte, initOffset int, params fieldParam
result, err = parseIA5String(innerBytes)
case tagT61String:
result, err = parseT61String(innerBytes)
case tagUTF8String:
result, err = parseUTF8String(innerBytes)
case tagInteger:
result, err = parseInt64(innerBytes)
case tagBitString:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment