Add unit tests for existing NTLM portable code.
- Adds tests for existing implementation. - Minor code change to reject certain invalid messages. NOTE: The existing code just ignored the target name field if it had length and/or offset outside the bounds of the message. This change explicitly rejects that case in order to test that the behavior is correct. BUG=chromium:22532 TEST=builds and tests pass Review-Url: https://codereview.chromium.org/2873673002 Cr-Commit-Position: refs/heads/master@{#486604}
Showing
This diff is collapsed.
net/ntlm/ntlm.cc
0 → 100644
net/ntlm/ntlm.h
0 → 100644
net/ntlm/ntlm_test_data.h
0 → 100644
net/ntlm/ntlm_unittest.cc
0 → 100644
Please register or sign in to comment