diff options
author | Simon Rettberg | 2019-06-13 18:08:11 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-06-13 18:08:11 +0200 |
commit | 5829b696f3d831766c92c58b957feb6315ed7ddb (patch) | |
tree | 3d84cf15a594be38c7f31eb2992bee541d10070f /asn1.h | |
parent | Fix deprecated OpenSSL call (diff) | |
download | ldadp-5829b696f3d831766c92c58b957feb6315ed7ddb.tar.gz ldadp-5829b696f3d831766c92c58b957feb6315ed7ddb.tar.xz ldadp-5829b696f3d831766c92c58b957feb6315ed7ddb.zip |
tag class CONTEXT_SPECIFIC <-> PRIVATE was swapped
Diffstat (limited to 'asn1.h')
-rw-r--r-- | asn1.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |