Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldumais committed Oct 26, 2023
1 parent 0b1e437 commit b7144ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ntlm/messages/client/authenticate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ pub fn write_authenticate(
let mut encrypted_session_key = [0x00; ENCRYPTED_RANDOM_SESSION_KEY_SIZE];
encrypted_session_key.clone_from_slice(encrypted_session_key_vec.as_ref());

context.flags = get_flags(&context, credentials);
context.flags = get_flags(context, credentials);

if !context.flags.contains(NegotiateFlags::NTLM_SSP_NEGOTIATE_KEY_EXCH) {
session_key = key_exchange_key;
Expand Down

0 comments on commit b7144ae

Please sign in to comment.