summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-04-07 09:35:35 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-04-07 09:35:35 +0000
commita8f7eaee5150e624316b14c04a8a9ec480b09dec (patch)
tree7820e7a8433c32c7047204766de1297d879f44bc
parent6254b9bd4422ad142625784bc99e72c2385918eb (diff)
downloadsamba-a8f7eaee5150e624316b14c04a8a9ec480b09dec.tar.gz
samba-a8f7eaee5150e624316b14c04a8a9ec480b09dec.tar.bz2
samba-a8f7eaee5150e624316b14c04a8a9ec480b09dec.zip
Only warn about short packets if we are already 'doing signing'.
Andrew Bartlett (This used to be commit 9656b8709128f24dd63094d504a6646f99933c57)
-rw-r--r--source3/libsmb/smb_signing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/smb_signing.c b/source3/libsmb/smb_signing.c
index 42c4d5574d..4e9b895a1b 100644
--- a/source3/libsmb/smb_signing.c
+++ b/source3/libsmb/smb_signing.c
@@ -457,7 +457,7 @@ BOOL cli_check_sign_mac(struct cli_state *cli)
BOOL good;
if (smb_len(cli->inbuf) < (smb_ss_field + 8 - 4)) {
- DEBUG(1, ("Can't check signature on short packet! smb_len = %u\n", smb_len(cli->inbuf)));
+ DEBUG(cli->sign_info.doing_signing ? 1 : 10, ("Can't check signature on short packet! smb_len = %u\n", smb_len(cli->inbuf)));
good = False;
} else {
good = cli->sign_info.check_incoming_message(cli);