Go version
go version go1.24.1 linux/amd64
Output of go env in your module/workspace:
CN=US,OU=US,O=US,L=US,ST=US,C=US
2025-01-01 00:00:00 +0000 UTC
2025-12-01 00:00:00 +0000 UTC
-36
1
What did you do?
Hello Developer, I have a CRL file with a CRL number value of -36. According to RFC5280, the CRL number should be a non-negative integer, but Go successfully parsed the CRL Number field of this CRL without any errors.
What did you see happen?
Go successfully parsed the CRL Number field of this CRL without any errors.
What did you expect to see?
crl_file_test_.zip
Go version
go version go1.24.1 linux/amd64
Output of
go envin your module/workspace:What did you do?
Hello Developer, I have a CRL file with a CRL number value of -36. According to RFC5280, the CRL number should be a non-negative integer, but Go successfully parsed the CRL Number field of this CRL without any errors.
What did you see happen?
Go successfully parsed the CRL Number field of this CRL without any errors.
What did you expect to see?
crl_file_test_.zip