summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-24 12:27:29 +0100
committerGünther Deschner <gd@samba.org>2011-03-16 23:46:18 +0100
commit3aa9d3005ac2e48cf789e147a098e8feecdd41ef (patch)
tree3f3e828ada8b355644e1972678047fe9d735fa0b /source3/include/proto.h
parent2a608ba856a4f28c13f295ac554e46168f3f045c (diff)
downloadsamba-3aa9d3005ac2e48cf789e147a098e8feecdd41ef.tar.gz
samba-3aa9d3005ac2e48cf789e147a098e8feecdd41ef.tar.bz2
samba-3aa9d3005ac2e48cf789e147a098e8feecdd41ef.zip
s3-build: only include asn1 headers where actually needed.
Guenther
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 7126103b96..f944b2a58d 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2298,6 +2298,10 @@ DATA_BLOB spnego_gen_negTokenInit(TALLOC_CTX *ctx,
const char *OIDs[],
DATA_BLOB *psecblob,
const char *principal);
+
+#ifndef ASN1_MAX_OIDS
+#define ASN1_MAX_OIDS 20
+#endif
bool spnego_parse_negTokenInit(TALLOC_CTX *ctx,
DATA_BLOB blob,
char *OIDs[ASN1_MAX_OIDS],