diff options
author | Günther Deschner <gd@samba.org> | 2008-10-22 14:03:43 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-22 21:37:36 +0200 |
commit | 5d805425b9382e3aabda4218ffa68584a2a58c9f (patch) | |
tree | c6f472d55e0b8557bad13218198c956fe982bbea /lib/util | |
parent | d81a9a9837870f0581269c27e41257133d24fbf6 (diff) | |
download | samba-5d805425b9382e3aabda4218ffa68584a2a58c9f.tar.gz samba-5d805425b9382e3aabda4218ffa68584a2a58c9f.tar.xz samba-5d805425b9382e3aabda4218ffa68584a2a58c9f.zip |
lib-util: merge from s3 asn1.
Guenther
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/asn1.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/util/asn1.h b/lib/util/asn1.h index c8e83b92668..504193833fc 100644 --- a/lib/util/asn1.h +++ b/lib/util/asn1.h @@ -34,6 +34,8 @@ struct asn1_data { bool has_error; }; +typedef struct asn1_data ASN1_DATA; + #define ASN1_APPLICATION(x) ((x)+0x60) #define ASN1_APPLICATION_SIMPLE(x) ((x)+0x40) #define ASN1_SEQUENCE(x) ((x)+0x30) @@ -44,6 +46,7 @@ struct asn1_data { #define ASN1_OID 0x6 #define ASN1_BOOLEAN 0x1 #define ASN1_INTEGER 0x2 +#define ASN1_BITFIELD 0x3 #define ASN1_ENUMERATED 0xa #define ASN1_SET 0x31 |