don't disable any ciphers
This commit is contained in:
parent
206fd3fc4b
commit
bd3fccd2dc
|
@ -98,8 +98,9 @@ public final class CryptoHelper {
|
|||
}
|
||||
|
||||
public static String[] getSupportedCipherSuites(final String[] platformSupportedCipherSuites) {
|
||||
final Collection<String> cipherSuites = new LinkedHashSet<>(Arrays.asList(Config.ENABLED_CIPHERS));
|
||||
cipherSuites.retainAll(Arrays.asList(platformSupportedCipherSuites));
|
||||
return cipherSuites.toArray(new String[cipherSuites.size()]);
|
||||
//final Collection<String> cipherSuites = new LinkedHashSet<>(Arrays.asList(Config.ENABLED_CIPHERS));
|
||||
//cipherSuites.retainAll(Arrays.asList(platformSupportedCipherSuites));
|
||||
//return cipherSuites.toArray(new String[cipherSuites.size()]);
|
||||
return platformSupportedCipherSuites;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue