| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1043 ASSERT_TRUE(GetSslCipher(true, &client_cipher)); | 1043 ASSERT_TRUE(GetSslCipher(true, &client_cipher)); |
| 1044 std::string server_cipher; | 1044 std::string server_cipher; |
| 1045 ASSERT_TRUE(GetSslCipher(false, &server_cipher)); | 1045 ASSERT_TRUE(GetSslCipher(false, &server_cipher)); |
| 1046 | 1046 |
| 1047 ASSERT_EQ(client_cipher, server_cipher); | 1047 ASSERT_EQ(client_cipher, server_cipher); |
| 1048 ASSERT_EQ(rtc::SSLStreamAdapter::GetDefaultSslCipher( | 1048 ASSERT_EQ(rtc::SSLStreamAdapter::GetDefaultSslCipher( |
| 1049 rtc::SSL_PROTOCOL_DTLS_10, ::testing::get<1>(GetParam())), | 1049 rtc::SSL_PROTOCOL_DTLS_10, ::testing::get<1>(GetParam())), |
| 1050 server_cipher); | 1050 server_cipher); |
| 1051 } | 1051 } |
| 1052 | 1052 |
| 1053 INSTANTIATE_TEST_CASE_P(SSLStreamAdapterTestsTLS, | 1053 INSTANTIATE_TEST_CASE_P( |
| 1054 SSLStreamAdapterTestTLS, | 1054 SSLStreamAdapterTestsTLS, |
| 1055 Combine(Values(rtc::KT_RSA, rtc::KT_ECDSA), | 1055 SSLStreamAdapterTestTLS, |
| 1056 Values(rtc::KT_RSA, rtc::KT_ECDSA))); | 1056 Combine(Values(rtc::KT_RSA1024, rtc::KT_RSA2048, rtc::KT_ECDSA), |
| 1057 INSTANTIATE_TEST_CASE_P(SSLStreamAdapterTestsDTLS, | 1057 Values(rtc::KT_RSA1024, rtc::KT_RSA2048, rtc::KT_ECDSA))); |
| 1058 SSLStreamAdapterTestDTLS, | 1058 INSTANTIATE_TEST_CASE_P( |
| 1059 Combine(Values(rtc::KT_RSA, rtc::KT_ECDSA), | 1059 SSLStreamAdapterTestsDTLS, |
| 1060 Values(rtc::KT_RSA, rtc::KT_ECDSA))); | 1060 SSLStreamAdapterTestDTLS, |
| 1061 Combine(Values(rtc::KT_RSA1024, rtc::KT_RSA2048, rtc::KT_ECDSA), |
| 1062 Values(rtc::KT_RSA1024, rtc::KT_RSA2048, rtc::KT_ECDSA))); |
| OLD | NEW |