encoding/asn1: Marshal rejects encoding *T even if T is encodeable #50578
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
https://go.dev/play/p/Aj7m_EiK1EX
What did you expect to see?
Equal values for both prints.
What did you see instead?
Ideally, Marshal (and arguably Unmarshal) should recurse through pointers as they do interfaces. Of course, encoding/asn1 is... not really the best ASN.1 library, so maybe we should put a comment on it saying to use crypto/cryptobytes and call it a day.
The text was updated successfully, but these errors were encountered: