Override getMaximumVersion so that fallback checks work correctly
@@ -91,6 +91,12 @@ protected int getMaximumNegotiableFiniteFieldBits()
return maxBits >= provEphemeralDHKeySize ? maxBits : 0;
}
+ @Override
+ protected ProtocolVersion getMaximumVersion()
+ {
+ return manager.getContext().getMaximumVersion(sslParameters.getProtocols());
+ }
+
@Override
protected boolean selectCipherSuite(int cipherSuite) throws IOException
{
