mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 00:58:50 -05:00
Fix cipher suite names
This commit is contained in:
parent
a63a91fa54
commit
4fb12ff12b
@ -30,14 +30,13 @@ public class DefaultTrustedSocketFactory implements TrustedSocketFactory {
|
|||||||
protected static final String ENABLED_CIPHERS[];
|
protected static final String ENABLED_CIPHERS[];
|
||||||
protected static final String ENABLED_PROTOCOLS[];
|
protected static final String ENABLED_PROTOCOLS[];
|
||||||
|
|
||||||
// Order taken from OpenSSL 1.0.1c
|
|
||||||
protected static final String ORDERED_KNOWN_CIPHERS[] = {
|
protected static final String ORDERED_KNOWN_CIPHERS[] = {
|
||||||
"TLS_ECDHE_RSA_AES_256_GCM_SHA384",
|
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
|
||||||
"TLS_ECDHE_ECDSA_AES_256_GCM_SHA384",
|
"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
|
||||||
"TLS_ECDHE_RSA_AES_128_GCM_SHA256",
|
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
|
||||||
"TLS_ECDHE_ECDSA_AES_128_GCM_SHA256",
|
"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
|
||||||
"TLS_DHE_RSA_AES_256_GCM_SHA384",
|
"TLS_DHE_RSA_WITH_AES_256_GCM_SHA384",
|
||||||
"TLS_DHE_RSA_AES_128_GCM_SHA256",
|
"TLS_DHE_RSA_WITH_AES_128_GCM_SHA256",
|
||||||
"TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
|
"TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
|
||||||
"TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
|
"TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
|
||||||
"TLS_DHE_RSA_WITH_AES_256_CBC_SHA",
|
"TLS_DHE_RSA_WITH_AES_256_CBC_SHA",
|
||||||
|
Loading…
Reference in New Issue
Block a user