diff options
author | Jeremy Allison <jra@samba.org> | 2006-01-18 20:45:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:06:10 -0500 |
commit | 2fd79d8bfc9e8855b2959a4bfa0ff9eb691399f8 (patch) | |
tree | 9711d28a1c55f21a7c20ab026ca05c64e7ccf957 /source3 | |
parent | 90372e1e9372ccce8e08dbe3d816d8e69b62a4f5 (diff) | |
download | samba-2fd79d8bfc9e8855b2959a4bfa0ff9eb691399f8.tar.gz samba-2fd79d8bfc9e8855b2959a4bfa0ff9eb691399f8.tar.bz2 samba-2fd79d8bfc9e8855b2959a4bfa0ff9eb691399f8.zip |
r13015: Make logic much clearer. From jpeach.
Jeremy.
(This used to be commit d9b6bdd84a16c8af44049748a0fc47844f597919)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/ntlmssp_sign.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/ntlmssp_sign.c b/source3/libsmb/ntlmssp_sign.c index e41cd6437c..cc6323718b 100644 --- a/source3/libsmb/ntlmssp_sign.c +++ b/source3/libsmb/ntlmssp_sign.c @@ -139,7 +139,7 @@ NTSTATUS ntlmssp_sign_packet(NTLMSSP_STATE *ntlmssp_state, { NTSTATUS nt_status; - if (!ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_SIGN) { + if (!(ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_SIGN)) { DEBUG(3, ("NTLMSSP Signing not negotiated - cannot sign packet!\n")); return NT_STATUS_INVALID_PARAMETER; } @@ -238,7 +238,7 @@ NTSTATUS ntlmssp_seal_packet(NTLMSSP_STATE *ntlmssp_state, { NTSTATUS nt_status; - if (!ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_SEAL) { + if (!(ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_SEAL)) { DEBUG(3, ("NTLMSSP Sealing not negotiated - cannot seal packet!\n")); return NT_STATUS_INVALID_PARAMETER; } |