From 3aa9d3005ac2e48cf789e147a098e8feecdd41ef Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 24 Feb 2011 12:27:29 +0100 Subject: s3-build: only include asn1 headers where actually needed. Guenther --- source3/include/proto.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/include/proto.h') 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], -- cgit