summaryrefslogtreecommitdiff
path: root/source4/auth/gensec
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-25 10:43:42 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-25 10:59:13 +0200
commit85276e120c192b6a874f51ddee9b59339a87753b (patch)
tree1f22a3038ca281888fcf8c9e7c6e209f85b56b0b /source4/auth/gensec
parentfb1eb112672c30d7086881922036066b55436a01 (diff)
downloadsamba-85276e120c192b6a874f51ddee9b59339a87753b.tar.gz
samba-85276e120c192b6a874f51ddee9b59339a87753b.tar.bz2
samba-85276e120c192b6a874f51ddee9b59339a87753b.zip
s4:auth/gensec/schannel - fix a const warning
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r--source4/auth/gensec/schannel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/auth/gensec/schannel.c b/source4/auth/gensec/schannel.c
index 69c50f8f2b..f911dd3750 100644
--- a/source4/auth/gensec/schannel.c
+++ b/source4/auth/gensec/schannel.c
@@ -314,7 +314,8 @@ static NTSTATUS schannel_check_packet(struct gensec_security *gensec_security,
struct schannel_state);
return netsec_incoming_packet(state, mem_ctx, false,
- data, length, sig);
+ discard_const_p(uint8_t, data),
+ length, sig);
}
/*
seal a packet