Fix SSLException check for JDK work around missed by 2dffc2f9fb89966e4a7d227e52a8d937ef0875b0
This commit is contained in:
parent
bca1d9caed
commit
002bb6c2ab
@ -286,7 +286,7 @@ public class JdkSslEngineTest extends SSLEngineTest {
|
|||||||
@Override
|
@Override
|
||||||
protected boolean mySetupMutualAuthServerIsValidException(Throwable cause) {
|
protected boolean mySetupMutualAuthServerIsValidException(Throwable cause) {
|
||||||
// TODO(scott): work around for a JDK issue. The exception should be SSLHandshakeException.
|
// TODO(scott): work around for a JDK issue. The exception should be SSLHandshakeException.
|
||||||
return super.mySetupMutualAuthServerIsValidException(cause) || cause instanceof SSLException;
|
return super.mySetupMutualAuthServerIsValidException(cause) || causedBySSLException(cause);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void runTest() throws Exception {
|
private void runTest() throws Exception {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user