mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
r17595: Fix from Ben Winslow <rain@bluecherry.net> to allow
client smb signing to be correctly turned off.
Jeremy.
(This used to be commit 61f052b0a6
)
This commit is contained in:
parent
d0301937ed
commit
b4f39f4a9e
@ -108,6 +108,10 @@ static BOOL set_sequence_can_delete_flag(struct outstanding_packet_lookup **list
|
||||
|
||||
static BOOL cli_set_smb_signing_common(struct cli_state *cli)
|
||||
{
|
||||
if (!cli->sign_info.allow_smb_signing) {
|
||||
return False;
|
||||
}
|
||||
|
||||
if (!cli->sign_info.negotiated_smb_signing
|
||||
&& !cli->sign_info.mandatory_signing) {
|
||||
return False;
|
||||
|
Loading…
Reference in New Issue
Block a user