commit | ed6eb6627ea61f7840c353dbb81bf2119c3f10aa | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Thu Aug 28 16:28:18 2014 -0400 |
committer | Adam Langley <agl@google.com> | Thu Aug 28 20:47:34 2014 +0000 |
tree | 876e7492e2f624b397151c80614f5b4e7744982f | |
parent | 9b04d657be7daa60864ee0ea81bc493ba07b8ca8 [diff] |
Add CBS_ASN1_ENUMERATED to bytestring.h. For parsing OCSP responses. Change-Id: I419bc60372d7927f2166bcd5bafa4147727e32ed Reviewed-on: https://boringssl-review.googlesource.com/1670 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/include/openssl/bytestring.h b/include/openssl/bytestring.h index 6e18499..1af20e8 100644 --- a/include/openssl/bytestring.h +++ b/include/openssl/bytestring.h
@@ -122,6 +122,7 @@ #define CBS_ASN1_BITSTRING 0x3 #define CBS_ASN1_OCTETSTRING 0x4 #define CBS_ASN1_OBJECT 0x6 +#define CBS_ASN1_ENUMERATED 0xa #define CBS_ASN1_SEQUENCE (0x10 | CBS_ASN1_CONSTRUCTED) #define CBS_ASN1_SET (0x11 | CBS_ASN1_CONSTRUCTED)