Fix incorrect delegate in overriden method in JdkOpenSslEngineInteroptTest

Motivation:

JdkOpenSslEngineInteroptTest.mySetupMutualAuthServerIsValidClientException(...) delegated to the wrong super method.

Modifications:

Fix delegate

Result:

Correct test-code.
This commit is contained in:
Norman Maurer 2017-02-15 14:47:14 +01:00
parent 43a2315372
commit 847359fd36

View File

@ -88,6 +88,6 @@ public class JdkOpenSslEngineInteroptTest extends SSLEngineTest {
@Override
protected boolean mySetupMutualAuthServerIsValidClientException(Throwable cause) {
// TODO(scott): work around for a JDK issue. The exception should be SSLHandshakeException.
return super.mySetupMutualAuthServerIsValidException(cause) || cause instanceof SSLException;
return super.mySetupMutualAuthServerIsValidClientException(cause) || cause instanceof SSLException;
}
}