OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 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 #if HAVE_CONFIG_H | |
12 #include "config.h" | |
13 #endif // HAVE_CONFIG_H | |
14 | |
15 #include "webrtc/base/sslstreamadapter.h" | 11 #include "webrtc/base/sslstreamadapter.h" |
16 #include "webrtc/base/sslconfig.h" | 12 #include "webrtc/base/sslconfig.h" |
17 | 13 |
18 #if SSL_USE_OPENSSL | 14 #if SSL_USE_OPENSSL |
19 | 15 |
20 #include "webrtc/base/opensslstreamadapter.h" | 16 #include "webrtc/base/opensslstreamadapter.h" |
21 | 17 |
22 #endif // SSL_USE_OPENSSL | 18 #endif // SSL_USE_OPENSSL |
23 | 19 |
24 /////////////////////////////////////////////////////////////////////////////// | 20 /////////////////////////////////////////////////////////////////////////////// |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 return OpenSSLStreamAdapter::IsAcceptableCipher(cipher, key_type); | 90 return OpenSSLStreamAdapter::IsAcceptableCipher(cipher, key_type); |
95 } | 91 } |
96 std::string SSLStreamAdapter::SslCipherSuiteToName(int cipher_suite) { | 92 std::string SSLStreamAdapter::SslCipherSuiteToName(int cipher_suite) { |
97 return OpenSSLStreamAdapter::SslCipherSuiteToName(cipher_suite); | 93 return OpenSSLStreamAdapter::SslCipherSuiteToName(cipher_suite); |
98 } | 94 } |
99 #endif // SSL_USE_OPENSSL | 95 #endif // SSL_USE_OPENSSL |
100 | 96 |
101 /////////////////////////////////////////////////////////////////////////////// | 97 /////////////////////////////////////////////////////////////////////////////// |
102 | 98 |
103 } // namespace rtc | 99 } // namespace rtc |
OLD | NEW |