Skip to content

Commit

Permalink
Pass the unicode flag and update the hash in specs
Browse files Browse the repository at this point in the history
  • Loading branch information
cdelafuente-r7 committed Jun 12, 2024
1 parent e347891 commit 088ea63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/net/ntlm_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
let(:user) { 'юзер' }

it 'should return the correct ntlmv2 hash' do
expect(Net::NTLM::ntlmv2_hash(user, passwd, domain)).to eq(["ba3d357a20233dfc432b727537272bab"].pack("H*"))
expect(Net::NTLM::ntlmv2_hash(user, passwd, domain, { unicode: true })).to eq(["a0f4b914a37faeaee884b6b04a20faf0"].pack("H*"))
end
end

Expand Down

0 comments on commit 088ea63

Please sign in to comment.