]> Cypherpunks repositories - gostls13.git/commit
encoding/asn1: don't convert UTCTime to UTC.
authorAdam Langley <agl@golang.org>
Mon, 29 Oct 2012 15:16:05 +0000 (11:16 -0400)
committerAdam Langley <agl@golang.org>
Mon, 29 Oct 2012 15:16:05 +0000 (11:16 -0400)
commit4d17fe3cd62788b9b15af471806063f8cc071c97
tree4409e41b4e38e0116546f3d56d1f9efe9df1bd84
parent530147e870eee380a1533f5f83ef7efe73b7139b
encoding/asn1: don't convert UTCTime to UTC.

Previously we converted a time to UTC *and* serialized the timezone of
the original time. With this change, we serialize a UTCTime in the
original timezone.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6817048
src/pkg/encoding/asn1/marshal.go
src/pkg/encoding/asn1/marshal_test.go