Fix SSLException check for JDK work around missed by 2dffc2f9fb
This commit is contained in:
parent
08e0c612cf
commit
e08a3b1f35
@ -286,7 +286,7 @@ public class JdkSslEngineTest extends SSLEngineTest {
|
||||
@Override
|
||||
protected boolean mySetupMutualAuthServerIsValidException(Throwable cause) {
|
||||
// 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 {
|
||||
|
Loading…
Reference in New Issue
Block a user