changeset 5158:71cb21ac8481

7176784: Windows authentication not working on some computers Reviewed-by: michaelm
author chegar
date Mon, 25 Jun 2012 14:19:38 +0100
parents 61a496db0378
children 4dc7cefb76b4
files src/windows/native/sun/net/www/protocol/http/ntlm/NTLMAuthSequence.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/native/sun/net/www/protocol/http/ntlm/NTLMAuthSequence.c	Mon Jun 25 10:12:56 2012 +0100
+++ b/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;