x/crypto/ocsp: asn1 marshal failed with ocsp #19212
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
I am not sure that it is bug in go
asn1
or it's inx/ocsp
What version of Go are you using (
go version
)?i am using go version
go1.8 linux/amd64
and go versiongo1.7.5 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
i am generating ocsp response with
golang.org/x/crypto/ocsp
witch useasn1
inside. And after upgrading to go1.8 i have this problems.when i run this code on go 1.8 i have no errors, but when i am trying to read this response with openssl i have an error
but if i run same code with go1.7 it works fine and openssl run without errors.
Also i found that if i set
remplate.RevocationReason
to non zero value it also works good on go1.8The text was updated successfully, but these errors were encountered: