diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-01-06 17:14:25 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-03-24 17:34:56 +0100 |
commit | 9172b4a0b1082f80ce8a1b551d67337005365b43 (patch) | |
tree | e4ebb15ae929afcb0d58bdf2bcec55fffe199f21 /source3/include | |
parent | d0ef97f74b61f0441b078845d0637f5dad3e2e16 (diff) | |
download | samba-9172b4a0b1082f80ce8a1b551d67337005365b43.tar.gz samba-9172b4a0b1082f80ce8a1b551d67337005365b43.tar.bz2 samba-9172b4a0b1082f80ce8a1b551d67337005365b43.zip |
s3:ntlmssp: make whole_pdu const for ntlmssp_[un]seal_packet()
Only data needs to be non-const.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |