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 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 bool SSLStreamAdapter::HaveDtlsSrtp() { | 83 bool SSLStreamAdapter::HaveDtlsSrtp() { |
84 return OpenSSLStreamAdapter::HaveDtlsSrtp(); | 84 return OpenSSLStreamAdapter::HaveDtlsSrtp(); |
85 } | 85 } |
86 bool SSLStreamAdapter::HaveExporter() { | 86 bool SSLStreamAdapter::HaveExporter() { |
87 return OpenSSLStreamAdapter::HaveExporter(); | 87 return OpenSSLStreamAdapter::HaveExporter(); |
88 } | 88 } |
89 int SSLStreamAdapter::GetDefaultSslCipherForTest(SSLProtocolVersion version, | 89 int SSLStreamAdapter::GetDefaultSslCipherForTest(SSLProtocolVersion version, |
90 KeyType key_type) { | 90 KeyType key_type) { |
91 return OpenSSLStreamAdapter::GetDefaultSslCipherForTest(version, key_type); | 91 return OpenSSLStreamAdapter::GetDefaultSslCipherForTest(version, key_type); |
92 } | 92 } |
93 | 93 bool SSLStreamAdapter::IsAcceptableCipher(int cipher, |
| 94 SSLProtocolVersion version, |
| 95 KeyType key_type) { |
| 96 return OpenSSLStreamAdapter::IsAcceptableCipher(cipher, version, key_type); |
| 97 } |
| 98 bool SSLStreamAdapter::IsAcceptableCipher(std::string cipher, |
| 99 SSLProtocolVersion version, |
| 100 KeyType key_type) { |
| 101 return OpenSSLStreamAdapter::IsAcceptableCipher(cipher, version, key_type); |
| 102 } |
94 std::string SSLStreamAdapter::SslCipherSuiteToName(int cipher_suite) { | 103 std::string SSLStreamAdapter::SslCipherSuiteToName(int cipher_suite) { |
95 return OpenSSLStreamAdapter::SslCipherSuiteToName(cipher_suite); | 104 return OpenSSLStreamAdapter::SslCipherSuiteToName(cipher_suite); |
96 } | 105 } |
97 #endif // SSL_USE_OPENSSL | 106 #endif // SSL_USE_OPENSSL |
98 | 107 |
99 /////////////////////////////////////////////////////////////////////////////// | 108 /////////////////////////////////////////////////////////////////////////////// |
100 | 109 |
101 } // namespace rtc | 110 } // namespace rtc |
OLD | NEW |