Index: talk/app/webrtc/statscollector_unittest.cc |
diff --git a/talk/app/webrtc/statscollector_unittest.cc b/talk/app/webrtc/statscollector_unittest.cc |
index 5e658680be50f965cb46e9135efb3de2ba1dc9d5..7c055f6566862c7f8af5dc77df1a12df7d0f1c4f 100644 |
--- a/talk/app/webrtc/statscollector_unittest.cc |
+++ b/talk/app/webrtc/statscollector_unittest.cc |
@@ -59,11 +59,6 @@ |
using webrtc::StatsReport; |
using webrtc::StatsReports; |
-namespace { |
-// This value comes from openssl/tls1.h |
-const uint16_t TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA = 0xC014; |
-} // namespace |
- |
namespace cricket { |
class ChannelManager; |
@@ -652,7 +647,7 @@ |
cricket::TransportChannelStats channel_stats; |
channel_stats.component = 1; |
channel_stats.srtp_cipher = "the-srtp-cipher"; |
- channel_stats.ssl_cipher = TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA; |
+ channel_stats.ssl_cipher = "the-ssl-cipher"; |
cricket::TransportStats transport_stats; |
transport_stats.transport_name = "audio"; |
@@ -721,9 +716,7 @@ |
StatsReport::kStatsReportTypeComponent, |
reports, |
StatsReport::kStatsValueNameDtlsCipher); |
- EXPECT_EQ(rtc::SSLStreamAdapter::GetSslCipherSuiteName( |
- TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA), |
- dtls_cipher); |
+ EXPECT_EQ("the-ssl-cipher", dtls_cipher); |
std::string srtp_cipher = ExtractStatsValue( |
StatsReport::kStatsReportTypeComponent, |
reports, |