commit | b698617007b3b2048c052ef714e4fe48a175b3c4 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Thu Oct 09 19:39:15 2014 -0400 |
committer | Adam Langley <agl@google.com> | Mon Oct 20 19:20:26 2014 +0000 |
tree | eeb0b8045d6ef4d1b834a762f63b0a65c987a3e4 | |
parent | 7f7882f1a8880c369798f8eaadfab410bd7e24a3 [diff] |
Add CBS_peek_asn1_tag. Intended to make parsing ASN.1 structures with OPTIONAL elements easier. (Just attempting to parse the next tag doesn't distinguish between a malformed CBS which has now been partially advanced and an optional tag mismatch.) Change-Id: Idceb3dfd6ec028e87e1bc5aaddcec177b0c32150 Reviewed-on: https://boringssl-review.googlesource.com/1995 Reviewed-by: Adam Langley <agl@google.com>