asn1: Stricter checks for DER encoded booleans
According to X.690, only 0 and 255 are allowed as values for encoded booleans. Also added some test for parsing booleans R=golang-dev, agl, r CC=golang-dev https://golang.org/cl/9692043
Showing
src/pkg/encoding/asn1/asn1.go
100644 → 100755
src/pkg/encoding/asn1/asn1_test.go
100644 → 100755
Please
register
or
sign in
to comment