aboutsummaryrefslogtreecommitdiffstats
path: root/Source/lib/asn1/asn1.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/lib/asn1/asn1.h')
-rw-r--r--Source/lib/asn1/asn1.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/Source/lib/asn1/asn1.h b/Source/lib/asn1/asn1.h
index 3edaa3254..4a99c9a34 100644
--- a/Source/lib/asn1/asn1.h
+++ b/Source/lib/asn1/asn1.h
@@ -23,15 +23,14 @@
/* Defines some primitive ASN1 types */
-
typedef enum {
- ASN1_EOC = 0x00,
- ASN1_BOOLEAN = 0x01,
- ASN1_INTEGER = 0x02,
+ ASN1_EOC = 0x00,
+ ASN1_BOOLEAN = 0x01,
+ ASN1_INTEGER = 0x02,
ASN1_BIT_STRING = 0x03,
ASN1_OCTET_STRING = 0x04,
- ASN1_NULL = 0x05,
- ASN1_OID = 0x06,
+ ASN1_NULL = 0x05,
+ ASN1_OID = 0x06,
ASN1_ENUMERATED = 0x0A,
ASN1_UTF8STRING = 0x0C,
ASN1_NUMERICSTRING = 0x12,
@@ -39,7 +38,7 @@ typedef enum {
ASN1_T61STRING = 0x14,
ASN1_VIDEOTEXSTRING = 0x15,
ASN1_IA5STRING = 0x16,
- ASN1_UTCTIME = 0x17,
+ ASN1_UTCTIME = 0x17,
ASN1_GENERALIZEDTIME = 0x18,
ASN1_GRAPHICSTRING = 0x19,
ASN1_VISIBLESTRING = 0x1A,
@@ -49,9 +48,9 @@ typedef enum {
ASN1_CONSTRUCTED = 0x20,
- ASN1_SEQUENCE = 0x30,
+ ASN1_SEQUENCE = 0x30,
- ASN1_SET = 0x31,
+ ASN1_SET = 0x31,
ASN1_CONTEXT_S_0 = 0x80,
ASN1_CONTEXT_S_1 = 0x81,
@@ -99,7 +98,7 @@ typedef struct {
bool implicit;
u_int level0;
u_int loopAddr[ASN1_MAX_LEVEL+1];
- chunk_t blobs[ASN1_MAX_LEVEL+2];
+ chunk_t blobs[ASN1_MAX_LEVEL+2];
} asn1_ctx_t;
/* some common prefabricated ASN.1 constants */