1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s4:gensec_gssapi.c - make sure that "GSS_C_DELEG_POLICY_FLAG" is available

FreeBSD 7.2 needs this.
This commit is contained in:
Matthias Dieter Wallnöfer 2010-03-30 17:42:51 +02:00
parent 65d1d41844
commit 3e091a8216

View File

@ -42,6 +42,11 @@
#include "auth/gensec/gensec_gssapi.h"
#include "lib/util/util_net.h"
/* There are "gssapi.h" header files which don't define all needed constants */
#ifndef GSS_C_DELEG_POLICY_FLAG
#define GSS_C_DELEG_POLICY_FLAG 32768
#endif
static size_t gensec_gssapi_max_input_size(struct gensec_security *gensec_security);
static size_t gensec_gssapi_max_wrapped_size(struct gensec_security *gensec_security);