7176784: Windows authentication not working on some computers
Reviewed-by: michaelm
This commit is contained in:
parent
3675d9eacb
commit
d558c37a5b
@ -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
|
|||||||
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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user