Another fix related to HTTPCLIENT-1268. Get flags for when to send NTLMv2 response correct.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1423314 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Karl Wright 2012-12-18 08:14:25 +00:00
parent 2aa1fc1400
commit b284816743
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,8 @@ Changes in trunk
* [HTTPCLIENT-1080] NTLM dead code commented out.
Contributed by Karl Wright <DaddyWri at gmail.com>
* [HTTPCLIENT-1268] NTLM engine refactor fix, to correct a buffer overrun.
* [HTTPCLIENT-1268] NTLM engine refactor fix, to correct a buffer overrun, and get
flags right for when NTLMv2 response should be sent.
Contributed by Karl Wright <DaddyWri at gmail.com>
* [HTTPCLIENT-1263] BrowserCompatSpec: attribute values containing spaces or special characters

View File

@ -1149,7 +1149,6 @@ final class NTLMEngineImpl implements NTLMEngine {
byte[] userSessionKey;
try {
if (((type2Flags & FLAG_REQUEST_NTLM2_SESSION) == 0) &&
((type2Flags & FLAG_REQUEST_NTLMv1) == 0) &&
targetInformation != null && target != null) {
// NTLMv2
ntResp = gen.getNTLMv2Response();