Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ntlm: Clarify details on NTLM phase 3 decoding
The code was not very clear if we accept the base64 decode if the NTLM challenge was truncated or not. Move the related code lines closer to where buf is first used and comment that we are not concerned about any truncation. If the decoded result is truncated, the NTLM server side will reject our new response to the challenge as it will be incorrect. The buffer size is fixed and known to be in a cleared state before the decode starts. Resolves: TOB-OVPN-14 Signed-off-by: David Sommerseth <[email protected]> Acked-by: Gert Doering <[email protected]> Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg26919.html Signed-off-by: Gert Doering <[email protected]> (cherry picked from commit f193911)
- Loading branch information