aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2017-11-25 09:40:10 -0500
committerAdam Langley <agl@google.com>2017-11-27 17:47:47 +0000
commit27bc0f26c8d132df04f5b0b173aefeb8aaa13c33 (patch)
treedbd529db27a740cd6c5856c2c930cb84e3e34dd8
parent2fce1beda0f7e74e2d687860f807cf0b8d8056a4 (diff)
downloadboringssl-27bc0f26c8d132df04f5b0b173aefeb8aaa13c33.zip
boringssl-27bc0f26c8d132df04f5b0b173aefeb8aaa13c33.tar.gz
boringssl-27bc0f26c8d132df04f5b0b173aefeb8aaa13c33.tar.bz2
Fix CBS tag class docs.
Change-Id: Ia7b3b5d9ce833a9cdfb94c8e0923f3cf17555fdd Reviewed-on: https://boringssl-review.googlesource.com/23449 Reviewed-by: Adam Langley <agl@google.com>
-rw-r--r--include/openssl/bytestring.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/openssl/bytestring.h b/include/openssl/bytestring.h
index ad0c928..3906809 100644
--- a/include/openssl/bytestring.h
+++ b/include/openssl/bytestring.h
@@ -176,9 +176,8 @@ OPENSSL_EXPORT int CBS_get_u24_length_prefixed(CBS *cbs, CBS *out);
// tag.
#define CBS_ASN1_CONSTRUCTED (0x20u << CBS_ASN1_TAG_SHIFT)
-// The following values specify the constructed bit or tag class and may be ORed
-// into a tag number to produce the final tag. If none is used, the tag will be
-// UNIVERSAL.
+// The following values specify the tag class and may be ORed into a tag number
+// to produce the final tag. If none is used, the tag will be UNIVERSAL.
#define CBS_ASN1_UNIVERSAL (0u << CBS_ASN1_TAG_SHIFT)
#define CBS_ASN1_APPLICATION (0x40u << CBS_ASN1_TAG_SHIFT)
#define CBS_ASN1_CONTEXT_SPECIFIC (0x80u << CBS_ASN1_TAG_SHIFT)