зеркало из https://github.com/mozilla/gecko-dev.git
b=87902 Cannot reach TLS intolerant servers through SSL proxy.
r=javi sr=darin
This commit is contained in:
Родитель
fd9426a3fb
Коммит
c0454d676c
|
@ -346,13 +346,13 @@ nsNSSSocketInfo::TLSStepUp()
|
||||||
if (SECSuccess != SSL_ResetHandshake(mFd, PR_FALSE))
|
if (SECSuccess != SSL_ResetHandshake(mFd, PR_FALSE))
|
||||||
return NS_ERROR_FAILURE;
|
return NS_ERROR_FAILURE;
|
||||||
|
|
||||||
|
mFirstWrite = PR_TRUE;
|
||||||
|
|
||||||
// This is a work around for NSS bug 56924 which is scheduled
|
// This is a work around for NSS bug 56924 which is scheduled
|
||||||
// for a fix in NSS 3.3, but we're currently on version 3.2.1,
|
// for a fix in NSS 3.3, but we're currently on version 3.2.1,
|
||||||
// so we need this work around.
|
// so we need this work around.
|
||||||
PR_Write(mFd, nsnull, 0);
|
PR_Write(mFd, nsnull, 0);
|
||||||
|
|
||||||
mFirstWrite = PR_TRUE;
|
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче