summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-01-09 11:30:39 +0100
committerGünther Deschner <gd@samba.org>2010-03-24 17:34:56 +0100
commit8804dc13281acf7839762c9cfb5fb9cafd0ba6a0 (patch)
treeb3cf3b474e50e2648d0b45b3c4e9ccff622707bf /source3
parent9172b4a0b1082f80ce8a1b551d67337005365b43 (diff)
downloadsamba-8804dc13281acf7839762c9cfb5fb9cafd0ba6a0.tar.gz
samba-8804dc13281acf7839762c9cfb5fb9cafd0ba6a0.tar.bz2
samba-8804dc13281acf7839762c9cfb5fb9cafd0ba6a0.zip
s3:ntlmssp: add const for *sig in ntlmssp_unseal_packet()
metze Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/libsmb/ntlmssp_sign.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 7d2bb9b014..c696cb87ea 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -3240,7 +3240,7 @@ NTSTATUS ntlmssp_seal_packet(struct ntlmssp_state *ntlmssp_state,
NTSTATUS ntlmssp_unseal_packet(struct ntlmssp_state *ntlmssp_state,
uint8_t *data, size_t length,
const uint8_t *whole_pdu, size_t pdu_length,
- DATA_BLOB *sig);
+ const DATA_BLOB *sig);
NTSTATUS ntlmssp_sign_init(struct ntlmssp_state *ntlmssp_state);
/* The following definitions come from libsmb/passchange.c */
diff --git a/source3/libsmb/ntlmssp_sign.c b/source3/libsmb/ntlmssp_sign.c
index 2306304f41..e14ab1e22a 100644
--- a/source3/libsmb/ntlmssp_sign.c
+++ b/source3/libsmb/ntlmssp_sign.c
@@ -339,7 +339,7 @@ NTSTATUS ntlmssp_seal_packet(struct ntlmssp_state *ntlmssp_state,
NTSTATUS ntlmssp_unseal_packet(struct ntlmssp_state *ntlmssp_state,
uint8_t *data, size_t length,
const uint8_t *whole_pdu, size_t pdu_length,
- DATA_BLOB *sig)
+ const DATA_BLOB *sig)
{
if (!ntlmssp_state->session_key.length) {
DEBUG(3, ("NO session key, cannot unseal packet\n"));