From bd3fccd2dcb082cdc3f0d684ea66626f3d588f0b Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Mon, 2 Feb 2015 14:22:49 +0100 Subject: don't disable any ciphers --- src/main/java/eu/siacs/conversations/utils/CryptoHelper.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/utils/CryptoHelper.java b/src/main/java/eu/siacs/conversations/utils/CryptoHelper.java index 48b0cdf3..fc21acbc 100644 --- a/src/main/java/eu/siacs/conversations/utils/CryptoHelper.java +++ b/src/main/java/eu/siacs/conversations/utils/CryptoHelper.java @@ -98,8 +98,9 @@ public final class CryptoHelper { } public static String[] getSupportedCipherSuites(final String[] platformSupportedCipherSuites) { - final Collection cipherSuites = new LinkedHashSet<>(Arrays.asList(Config.ENABLED_CIPHERS)); - cipherSuites.retainAll(Arrays.asList(platformSupportedCipherSuites)); - return cipherSuites.toArray(new String[cipherSuites.size()]); + //final Collection cipherSuites = new LinkedHashSet<>(Arrays.asList(Config.ENABLED_CIPHERS)); + //cipherSuites.retainAll(Arrays.asList(platformSupportedCipherSuites)); + //return cipherSuites.toArray(new String[cipherSuites.size()]); + return platformSupportedCipherSuites; } } -- cgit v1.2.3