Bug 1288246: added DHE_RSA ciphers back into DTLS handshake. r=mt draft
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Thu, 21 Jul 2016 20:32:47 -0700
changeset 391119 7c8bcc33fc8f5bf590adb13d0275eb3520ee50ca
parent 390029 d224fc999cb6accb208af0a105f14433375e2e77
child 526131 f52e3cedd20e5638358bbcd04099ebdb0406cc54
push id23810
push userdrno@ohlmeier.org
push dateFri, 22 Jul 2016 03:33:07 +0000
reviewersmt
bugs1288246
milestone50.0a1
Bug 1288246: added DHE_RSA ciphers back into DTLS handshake. r=mt MozReview-Commit-ID: 6L78OI22PPS
media/mtransport/transportlayerdtls.cpp
--- a/media/mtransport/transportlayerdtls.cpp
+++ b/media/mtransport/transportlayerdtls.cpp
@@ -661,17 +661,19 @@ bool TransportLayerDtls::SetupAlpn(PRFil
 // builds, but can be disabled with prefs and they aren't on in our unit tests
 // since that uses NSS default configuration.
 //
 // Only override prefs to comply with MUST statements in the security-arch doc.
 // Anything outside this list is governed by the usual combination of policy
 // and user preferences.
 static const uint32_t EnabledCiphers[] = {
   TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
-  TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
+  TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
+  TLS_DHE_RSA_WITH_AES_256_CBC_SHA,
+  TLS_DHE_RSA_WITH_AES_128_CBC_SHA
 };
 
 // Disable all NSS suites modes without PFS or with old and rusty ciphersuites.
 // Anything outside this list is governed by the usual combination of policy
 // and user preferences.
 static const uint32_t DisabledCiphers[] = {
   TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA,
   TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,