private void testSupportedCurves(ProtocolVersion pv) { for (CipherSuite cs : supportedCipherSuites.get(pv)) { if (AlgorithmResolver.getKeyExchangeAlgorithm(cs) == KeyExchangeAlgorithm.EC_DIFFIE_HELLMAN) { testSupportedCurves(pv, cs); return; } } }