Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(642)

Side by Side Diff: webrtc/base/sslstreamadapter_unittest.cc

Issue 1329493005: Provide RSA2048 as per RFC (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« webrtc/base/sslidentity.h ('K') | « webrtc/base/sslidentity.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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)));
OLDNEW
« webrtc/base/sslidentity.h ('K') | « webrtc/base/sslidentity.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698