summaryrefslogtreecommitdiff
path: root/source3/include/asn1.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/asn1.h')
-rw-r--r--source3/include/asn1.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/asn1.h b/source3/include/asn1.h
index f09c7ebbc1..183a9ced6c 100644
--- a/source3/include/asn1.h
+++ b/source3/include/asn1.h
@@ -22,6 +22,7 @@
struct nesting {
off_t start;
+ size_t taglen; /* for parsing */
struct nesting *next;
};
@@ -30,6 +31,7 @@ typedef struct {
size_t length;
off_t ofs;
struct nesting *nesting;
+ BOOL has_error;
} ASN1_DATA;
@@ -40,3 +42,5 @@ typedef struct {
#define ASN1_OCTET_STRING 0x4
#define ASN1_OID 0x6
#define ASN1_BOOLEAN 0x1
+
+#define ASN1_MAX_OIDS 20