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:
parent
2aa1fc1400
commit
b284816743
|
@ -26,7 +26,8 @@ Changes in trunk
|
||||||
* [HTTPCLIENT-1080] NTLM dead code commented out.
|
* [HTTPCLIENT-1080] NTLM dead code commented out.
|
||||||
Contributed by Karl Wright <DaddyWri at gmail.com>
|
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>
|
Contributed by Karl Wright <DaddyWri at gmail.com>
|
||||||
|
|
||||||
* [HTTPCLIENT-1263] BrowserCompatSpec: attribute values containing spaces or special characters
|
* [HTTPCLIENT-1263] BrowserCompatSpec: attribute values containing spaces or special characters
|
||||||
|
|
|
@ -1149,7 +1149,6 @@ final class NTLMEngineImpl implements NTLMEngine {
|
||||||
byte[] userSessionKey;
|
byte[] userSessionKey;
|
||||||
try {
|
try {
|
||||||
if (((type2Flags & FLAG_REQUEST_NTLM2_SESSION) == 0) &&
|
if (((type2Flags & FLAG_REQUEST_NTLM2_SESSION) == 0) &&
|
||||||
((type2Flags & FLAG_REQUEST_NTLMv1) == 0) &&
|
|
||||||
targetInformation != null && target != null) {
|
targetInformation != null && target != null) {
|
||||||
// NTLMv2
|
// NTLMv2
|
||||||
ntResp = gen.getNTLMv2Response();
|
ntResp = gen.getNTLMv2Response();
|
||||||
|
|
Loading…
Reference in New Issue