aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/Config.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-03-08 11:28:39 +0100
committerDaniel Gultsch <daniel@gultsch.de>2015-03-08 11:28:39 +0100
commit1a5321e41f8ff18356d27a54078a6d742826473f (patch)
tree401abe92b5f6fc52accfc6b975474b6ee4a7e0b1 /src/main/java/eu/siacs/conversations/Config.java
parent87a048fe6f88739a381cecab973e1af12325ce16 (diff)
parent67f8ed44bd7241556a7cb1eb2aee2dda4cbbbf4e (diff)
Merge pull request #1022 from Boris-de/cipher_blacklist
disable all really weak cipher suites
Diffstat (limited to 'src/main/java/eu/siacs/conversations/Config.java')
-rw-r--r--src/main/java/eu/siacs/conversations/Config.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/Config.java b/src/main/java/eu/siacs/conversations/Config.java
index 2b9cee9f..f38bcbfc 100644
--- a/src/main/java/eu/siacs/conversations/Config.java
+++ b/src/main/java/eu/siacs/conversations/Config.java
@@ -64,6 +64,15 @@ public final class Config {
"TLS_RSA_WITH_AES_256_CBC_SHA",
};
+ public static final String WEAK_CIPHER_PATTERNS[] = {
+ "_NULL_",
+ "_EXPORT_",
+ "_anon_",
+ "_RC4_",
+ "_DES_",
+ "_MD5",
+ };
+
private Config() {
}