Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
encoding/asn1: better error message when unmarshaling non-pointer #15370
Please answer these questions before submitting your issue. Thanks!
not a bug in asn1.go.
needs to be
"uses the reflect package to fill in an arbitrary value pointed at by val"
But maybe it is warranted to add a check and write out a better error.