summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-03-15 20:12:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:02 -0500
commitd177f1bc8f0cb5ad91c9146871ba2e93eb2988d2 (patch)
treef18cbf3d721fc6edad760849ea213ace1bfb88a1 /source3/libsmb
parent61dfab9f705cb38e552dcec1822974433997543c (diff)
downloadsamba-d177f1bc8f0cb5ad91c9146871ba2e93eb2988d2.tar.gz
samba-d177f1bc8f0cb5ad91c9146871ba2e93eb2988d2.tar.bz2
samba-d177f1bc8f0cb5ad91c9146871ba2e93eb2988d2.zip
r5806: * fix a couple more segvs in spoolss
* comment out unused variable after jra's change to revert the 56bit des smb signing changes (This used to be commit 13ed08cd2a1097021cc44f4109859ba89db7df81)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/smb_signing.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/libsmb/smb_signing.c b/source3/libsmb/smb_signing.c
index 500ff7cc6e..f0f2024e7b 100644
--- a/source3/libsmb/smb_signing.c
+++ b/source3/libsmb/smb_signing.c
@@ -255,7 +255,10 @@ static void simple_packet_signature(struct smb_basic_signing_context *data,
const size_t offset_end_of_sig = (smb_ss_field + 8);
unsigned char sequence_buf[8];
struct MD5Context md5_ctx;
+#if 0
+ /* JRA - apparently this is incorrect. */
unsigned char key_buf[16];
+#endif
/*
* Firstly put the sequence number into the first 4 bytes.