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>
This commit is contained in:
parent
9b04d657be
commit
ed6eb6627e
@ -122,6 +122,7 @@ OPENSSL_EXPORT int CBS_get_u24_length_prefixed(CBS *cbs, CBS *out);
|
||||
#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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user