encoding/asn1: marshaling GeneralizedTime and UTCTime don't follow DER restriction #19890
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
I've just noticed that:
go/src/encoding/asn1/marshal.go
Lines 371 to 388 in 2acd3fa
doesn't follow DER restriction.
X.690 says:
What did you expect to see?
it follows DER restriction.
What did you see instead?
not.
The text was updated successfully, but these errors were encountered: