git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6254b9b
)
Only warn about short packets if we are already 'doing signing'.
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 7 Apr 2003 09:35:35 +0000
(09:35 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 7 Apr 2003 09:35:35 +0000
(09:35 +0000)
Andrew Bartlett
(This used to be commit
9656b8709128f24dd63094d504a6646f99933c57
)
source3/libsmb/smb_signing.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/smb_signing.c
b/source3/libsmb/smb_signing.c
index 42c4d5574d5cc50d4cc3d2678a1603857ad12a41..4e9b895a1b32176327ea2bc5db353fa73c2ad80e 100644
(file)
--- 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);