提交 2092a56a 编写于 作者: C chegar

7176784: Windows authentication not working on some computers

Reviewed-by: michaelm
上级 6c690e49
...@@ -151,7 +151,7 @@ JNIEXPORT jbyteArray JNICALL Java_sun_net_www_protocol_http_ntlm_NTLMAuthSequenc ...@@ -151,7 +151,7 @@ JNIEXPORT jbyteArray JNICALL Java_sun_net_www_protocol_http_ntlm_NTLMAuthSequenc
VOID *pInput = 0; VOID *pInput = 0;
DWORD inputLen; DWORD inputLen;
CHAR buffOut[512]; CHAR buffOut[1024];
jboolean isCopy; jboolean isCopy;
SECURITY_STATUS ss; SECURITY_STATUS ss;
SecBufferDesc OutBuffDesc; SecBufferDesc OutBuffDesc;
...@@ -178,7 +178,7 @@ JNIEXPORT jbyteArray JNICALL Java_sun_net_www_protocol_http_ntlm_NTLMAuthSequenc ...@@ -178,7 +178,7 @@ JNIEXPORT jbyteArray JNICALL Java_sun_net_www_protocol_http_ntlm_NTLMAuthSequenc
OutBuffDesc.cBuffers = 1; OutBuffDesc.cBuffers = 1;
OutBuffDesc.pBuffers = &OutSecBuff; OutBuffDesc.pBuffers = &OutSecBuff;
OutSecBuff.cbBuffer = 512; OutSecBuff.cbBuffer = 1024;
OutSecBuff.BufferType = SECBUFFER_TOKEN; OutSecBuff.BufferType = SECBUFFER_TOKEN;
OutSecBuff.pvBuffer = buffOut; OutSecBuff.pvBuffer = buffOut;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册