diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-08-12 14:57:14 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-08-12 16:21:40 +0200 |
commit | 588cc81760b5bac201afd039855f93b1592d16d4 (patch) | |
tree | 2e33dd38d2f252106c4afbf9ac982034d600232e /source4/auth/gensec | |
parent | b686328039f117d1fa097085996d0c8c0d747d67 (diff) | |
download | samba-588cc81760b5bac201afd039855f93b1592d16d4.tar.gz samba-588cc81760b5bac201afd039855f93b1592d16d4.tar.bz2 samba-588cc81760b5bac201afd039855f93b1592d16d4.zip |
gensec_gssapi: fix compiler warnings
metze
(This used to be commit f4f4bb7fe977301e468ab164ba750b69d9a92306)
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r-- | source4/auth/gensec/gensec_gssapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c index 6910a6ecbe..7ded764095 100644 --- a/source4/auth/gensec/gensec_gssapi.c +++ b/source4/auth/gensec/gensec_gssapi.c @@ -1121,10 +1121,10 @@ static NTSTATUS gensec_gssapi_check_packet(struct gensec_security *gensec_securi if (gensec_security->want_features & GENSEC_FEATURE_SIGN_PKT_HEADER) { input_message.length = pdu_length; - input_message.value = whole_pdu; + input_message.value = discard_const(whole_pdu); } else { input_message.length = length; - input_message.value = data; + input_message.value = discard_const(data); } input_token.length = sig->length; |