diff options
-rw-r--r-- | source4/auth/gensec/schannel.c | 3 |
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 |