From f6a62df8e12eb7d99fff2c05061d3d4ce6a5cc9e Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 13 Dec 2015 22:10:46 +0200 Subject: [PATCH] TLS: Fix and complete ASN.1 tag list One of the unused defines had incorrect value and couple of tags were missing. Signed-off-by: Jouni Malinen --- src/tls/asn1.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tls/asn1.h b/src/tls/asn1.h index 747500767..6bd7df565 100644 --- a/src/tls/asn1.h +++ b/src/tls/asn1.h @@ -20,6 +20,7 @@ #define ASN1_TAG_EXTERNAL 0x08 /* not yet parsed */ #define ASN1_TAG_REAL 0x09 /* not yet parsed */ #define ASN1_TAG_ENUMERATED 0x0A /* not yet parsed */ +#define ASN1_TAG_EMBEDDED_PDV 0x0B /* not yet parsed */ #define ASN1_TAG_UTF8STRING 0x0C /* not yet parsed */ #define ANS1_TAG_RELATIVE_OID 0x0D #define ASN1_TAG_SEQUENCE 0x10 /* shall be constructed */ @@ -35,7 +36,8 @@ #define ASN1_TAG_VISIBLESTRING 0x1A #define ASN1_TAG_GENERALSTRING 0x1B /* not yet parsed */ #define ASN1_TAG_UNIVERSALSTRING 0x1C /* not yet parsed */ -#define ASN1_TAG_BMPSTRING 0x1D /* not yet parsed */ +#define ASN1_TAG_CHARACTERSTRING 0x1D /* not yet parsed */ +#define ASN1_TAG_BMPSTRING 0x1E /* not yet parsed */ #define ASN1_CLASS_UNIVERSAL 0 #define ASN1_CLASS_APPLICATION 1