aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-12-13 20:10:46 (GMT)
committerJouni Malinen <j@w1.fi>2015-12-13 20:12:07 (GMT)
commitf6a62df8e12eb7d99fff2c05061d3d4ce6a5cc9e (patch)
treefb9f12a1d0232f4cf17fd63f90b4b23a37c93d68 /src/tls
parentca27ee099818643b3e88864d5c46b4b035328df1 (diff)
downloadhostap-f6a62df8e12eb7d99fff2c05061d3d4ce6a5cc9e.zip
hostap-f6a62df8e12eb7d99fff2c05061d3d4ce6a5cc9e.tar.gz
hostap-f6a62df8e12eb7d99fff2c05061d3d4ce6a5cc9e.tar.bz2
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 <j@w1.fi>
Diffstat (limited to 'src/tls')
-rw-r--r--src/tls/asn1.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tls/asn1.h b/src/tls/asn1.h
index 7475007..6bd7df5 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