commit | fbe6f498cdb6c01331afb9bc11c05cb95a3548e5 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Tue Oct 21 00:45:25 2014 -0400 |
committer | Adam Langley <agl@google.com> | Fri Oct 24 18:26:11 2014 +0000 |
tree | e2d72c48d0a4e685414fb7fd843882def34037ea | |
parent | b5b685496891feb1ea0fe2e7d9a7cfcffd7f1f4f [diff] |
The empty contents are not a valid ASN.1 INTEGER. Zero is encoded as a single zero octet. Per X.690, 8.3.1: The encoding of an integer value shall be primitive. The contents octets shall consist of one or more octets. Change-Id: If4304a2be5117b71446a3a62a2b8a6124f85a202 Reviewed-on: https://boringssl-review.googlesource.com/2010 Reviewed-by: Adam Langley <agl@google.com>