diff options
author | iNPUTmice <daniel@gultsch.de> | 2015-02-02 14:22:49 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2015-02-02 14:22:49 +0100 |
commit | bd3fccd2dcb082cdc3f0d684ea66626f3d588f0b (patch) | |
tree | 0c9733b6ca8f6901e6792842d43912f7f2bcf079 /src/main/java | |
parent | 206fd3fc4b038edf61a964b8ea6c2321f1b6b2f2 (diff) |
don't disable any ciphers
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/utils/CryptoHelper.java | 7 |
1 files 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<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; } } |