summaryrefslogtreecommitdiffstats
path: root/asn1.h
diff options
context:
space:
mode:
Diffstat (limited to 'asn1.h')
-rw-r--r--asn1.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/asn1.h b/asn1.h
index 56a2368..6ff21c8 100644
--- a/asn1.h
+++ b/asn1.h
@@ -9,8 +9,8 @@
enum asn1_tagclass {
UNIVERSAL=(0<<6),
APPLICATION=(1<<6),
- PRIVATE=(2<<6),
- CONTEXT_SPECIFIC=(3<<6)
+ CONTEXT_SPECIFIC=(2<<6),
+ PRIVATE=(3<<6)
};
enum asn1_tagtype {
@@ -228,7 +228,7 @@ size_t fmt_asn1generic(char* dest,const char* fmt,...);
* 'p' (scan only) like 's' but check that contents of string is printable
* 'a' (scan only) like 's' but check that contents of string is ascii
* '!' (scan only) next argument is struct string*, fill in region until end of current sequence / set (for optional data)
- * 'c' context specific value (tag class PRIVATE, type CONSTRUCTED, tag taken from unsigned long arg / written to unsigned long* argument)
+ * 'c' context specific value (tag class CONTEXT_SPECIFIC, type CONSTRUCTED, tag taken from unsigned long arg / written to unsigned long* argument)
*/
#endif