summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-12-01 06:59:56 +0000
committerJeremy Allison <jra@samba.org>2003-12-01 06:59:56 +0000
commit40a50473c4987b804d9401c0ae97110eedcca4f9 (patch)
tree6f0a28bec3692805aa92a3b696582e41e4b32f70 /source3/libsmb
parentd75819ebcf072b7c8d428db413ec492db3f34075 (diff)
downloadsamba-40a50473c4987b804d9401c0ae97110eedcca4f9.tar.gz
samba-40a50473c4987b804d9401c0ae97110eedcca4f9.tar.bz2
samba-40a50473c4987b804d9401c0ae97110eedcca4f9.zip
Fix spurious error msg. when seq=0.
Jeremy. (This used to be commit fd71acd1ffb3d3c2f2f82395c86512124769d592)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/smb_signing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/smb_signing.c b/source3/libsmb/smb_signing.c
index cb35fda220..6b2abb9ccc 100644
--- a/source3/libsmb/smb_signing.c
+++ b/source3/libsmb/smb_signing.c
@@ -764,6 +764,8 @@ isn't sending correct signatures. Turning off.\n"));
return True;
} else {
/* Mandatory signing or bad packet after signing started - fail and disconnect. */
+ if (saved_seq)
+ DEBUG(0, ("srv_check_incoming_message: BAD SIG: seq %u\n", (unsigned int)saved_seq));
return False;
}
} else {