# HG changeset patch # User chegar # Date 1340630378 -3600 # Node ID 365efcc2d50cb4deca9de282e5726fc0cbede043 # Parent 9f6734b09d795bf949ffb5a6e4773d8b8e4fd36f 7176784: Windows authentication not working on some computers Reviewed-by: michaelm diff -r 9f6734b09d79 -r 365efcc2d50c jdk/src/windows/native/sun/net/www/protocol/http/ntlm/NTLMAuthSequence.c --- a/jdk/src/windows/native/sun/net/www/protocol/http/ntlm/NTLMAuthSequence.c Wed Jun 20 22:40:32 2012 -0400 +++ b/jdk/src/windows/native/sun/net/www/protocol/http/ntlm/NTLMAuthSequence.c Mon Jun 25 14:19:38 2012 +0100 @@ -151,7 +151,7 @@ VOID *pInput = 0; DWORD inputLen; - CHAR buffOut[512]; + CHAR buffOut[1024]; jboolean isCopy; SECURITY_STATUS ss; SecBufferDesc OutBuffDesc; @@ -178,7 +178,7 @@ OutBuffDesc.cBuffers = 1; OutBuffDesc.pBuffers = &OutSecBuff; - OutSecBuff.cbBuffer = 512; + OutSecBuff.cbBuffer = 1024; OutSecBuff.BufferType = SECBUFFER_TOKEN; OutSecBuff.pvBuffer = buffOut;