From 9172b4a0b1082f80ce8a1b551d67337005365b43 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 6 Jan 2010 17:14:25 +0100 Subject: s3:ntlmssp: make whole_pdu const for ntlmssp_[un]seal_packet() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only data needs to be non-const. metze Signed-off-by: Günther Deschner --- source3/include/proto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 1b28b47b01..7d2bb9b014 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -3235,11 +3235,11 @@ NTSTATUS ntlmssp_check_packet(struct ntlmssp_state *ntlmssp_state, const DATA_BLOB *sig) ; NTSTATUS ntlmssp_seal_packet(struct ntlmssp_state *ntlmssp_state, uint8_t *data, size_t length, - uint8_t *whole_pdu, size_t pdu_length, + const uint8_t *whole_pdu, size_t pdu_length, DATA_BLOB *sig); NTSTATUS ntlmssp_unseal_packet(struct ntlmssp_state *ntlmssp_state, uint8_t *data, size_t length, - uint8_t *whole_pdu, size_t pdu_length, + const uint8_t *whole_pdu, size_t pdu_length, DATA_BLOB *sig); NTSTATUS ntlmssp_sign_init(struct ntlmssp_state *ntlmssp_state); -- cgit