summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/gensec/gensec_gsskrb5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/gensec/gensec_gsskrb5.c b/source4/auth/gensec/gensec_gsskrb5.c
index 8fe1e0d224..89f7f9e36a 100644
--- a/source4/auth/gensec/gensec_gsskrb5.c
+++ b/source4/auth/gensec/gensec_gsskrb5.c
@@ -464,7 +464,7 @@ static NTSTATUS gensec_gsskrb5_sign_packet(struct gensec_security *gensec_securi
ssize_t sig_length = 0;
input_token.length = length;
- input_token.value = data;
+ input_token.value = discard_const_p(uint8_t *, data);
maj_stat = gss_wrap(&min_stat,
gensec_gsskrb5_state->gssapi_context,