Skip to content

Commit f952396

Browse files
committed
TLS: Disable DHE_* ciphersuites in default clients
1 parent 9440706 commit f952396

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

crypto/src/crypto/tls/DefaultTlsClient.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ public override int[] GetCipherSuites()
4242
CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
4343
CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,
4444
CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
45-
CipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256,
46-
CipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA256,
47-
CipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA,
48-
CipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,
49-
CipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,
50-
CipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA,
5145
CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256,
5246
CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256,
5347
CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA,

crypto/src/crypto/tls/PskTlsClient.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ public override int[] GetCipherSuites()
3232
{
3333
CipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256,
3434
CipherSuite.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA,
35-
CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256,
36-
CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA
3735
};
3836
}
3937

0 commit comments

Comments
 (0)