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 |
11 | 11 |
12 #include <algorithm> | 12 #include <algorithm> |
13 #include <set> | 13 #include <set> |
14 #include <string> | 14 #include <string> |
15 | 15 |
16 #include "webrtc/base/bufferqueue.h" | 16 #include "webrtc/base/bufferqueue.h" |
17 #include "webrtc/base/gunit.h" | 17 #include "webrtc/base/gunit.h" |
18 #include "webrtc/base/helpers.h" | 18 #include "webrtc/base/helpers.h" |
19 #include "webrtc/base/scoped_ptr.h" | 19 #include "webrtc/base/scoped_ptr.h" |
20 #include "webrtc/base/ssladapter.h" | 20 #include "webrtc/base/ssladapter.h" |
21 #include "webrtc/base/sslconfig.h" | 21 #include "webrtc/base/sslconfig.h" |
22 #include "webrtc/base/sslidentity.h" | 22 #include "webrtc/base/sslidentity.h" |
23 #include "webrtc/base/sslstreamadapter.h" | 23 #include "webrtc/base/sslstreamadapter.h" |
24 #include "webrtc/base/stream.h" | 24 #include "webrtc/base/stream.h" |
25 #include "webrtc/test/testsupport/gtest_disable.h" | |
26 | 25 |
27 using ::testing::WithParamInterface; | 26 using ::testing::WithParamInterface; |
28 using ::testing::Values; | 27 using ::testing::Values; |
29 using ::testing::Combine; | 28 using ::testing::Combine; |
30 using ::testing::tuple; | 29 using ::testing::tuple; |
31 | 30 |
32 static const int kBlockSize = 4096; | 31 static const int kBlockSize = 4096; |
33 static const char kExporterLabel[] = "label"; | 32 static const char kExporterLabel[] = "label"; |
34 static const unsigned char kExporterContext[] = "context"; | 33 static const unsigned char kExporterContext[] = "context"; |
35 static int kExporterContextLen = sizeof(kExporterContext); | 34 static int kExporterContextLen = sizeof(kExporterContext); |
(...skipping 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1158 INSTANTIATE_TEST_CASE_P( | 1157 INSTANTIATE_TEST_CASE_P( |
1159 SSLStreamAdapterTestsDTLS, | 1158 SSLStreamAdapterTestsDTLS, |
1160 SSLStreamAdapterTestDTLS, | 1159 SSLStreamAdapterTestDTLS, |
1161 Combine(Values(rtc::KeyParams::RSA(1024, 65537), | 1160 Combine(Values(rtc::KeyParams::RSA(1024, 65537), |
1162 rtc::KeyParams::RSA(1152, 65537), | 1161 rtc::KeyParams::RSA(1152, 65537), |
1163 rtc::KeyParams::ECDSA(rtc::EC_NIST_P256)), | 1162 rtc::KeyParams::ECDSA(rtc::EC_NIST_P256)), |
1164 Values(rtc::KeyParams::RSA(1024, 65537), | 1163 Values(rtc::KeyParams::RSA(1024, 65537), |
1165 rtc::KeyParams::RSA(1152, 65537), | 1164 rtc::KeyParams::RSA(1152, 65537), |
1166 rtc::KeyParams::ECDSA(rtc::EC_NIST_P256)))); | 1165 rtc::KeyParams::ECDSA(rtc::EC_NIST_P256)))); |
1167 #endif | 1166 #endif |
OLD | NEW |