| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #else // !SSL_USE_SCHANNEL && !SSL_USE_OPENSSL && !SSL_USE_NSS | 43 #else // !SSL_USE_SCHANNEL && !SSL_USE_OPENSSL && !SSL_USE_NSS |
| 44 return NULL; | 44 return NULL; |
| 45 #endif | 45 #endif |
| 46 } | 46 } |
| 47 | 47 |
| 48 bool SSLStreamAdapter::GetSslCipher(std::string* cipher) { | 48 bool SSLStreamAdapter::GetSslCipher(std::string* cipher) { |
| 49 return false; | 49 return false; |
| 50 } | 50 } |
| 51 | 51 |
| 52 bool SSLStreamAdapter::ExportKeyingMaterial(const std::string& label, | 52 bool SSLStreamAdapter::ExportKeyingMaterial(const std::string& label, |
| 53 const uint8* context, | 53 const uint8_t* context, |
| 54 size_t context_len, | 54 size_t context_len, |
| 55 bool use_context, | 55 bool use_context, |
| 56 uint8* result, | 56 uint8_t* result, |
| 57 size_t result_len) { | 57 size_t result_len) { |
| 58 return false; // Default is unsupported | 58 return false; // Default is unsupported |
| 59 } | 59 } |
| 60 | 60 |
| 61 bool SSLStreamAdapter::SetDtlsSrtpCiphers( | 61 bool SSLStreamAdapter::SetDtlsSrtpCiphers( |
| 62 const std::vector<std::string>& ciphers) { | 62 const std::vector<std::string>& ciphers) { |
| 63 return false; | 63 return false; |
| 64 } | 64 } |
| 65 | 65 |
| 66 bool SSLStreamAdapter::GetDtlsSrtpCipher(std::string* cipher) { | 66 bool SSLStreamAdapter::GetDtlsSrtpCipher(std::string* cipher) { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 } | 102 } |
| 103 std::string SSLStreamAdapter::GetDefaultSslCipher(SSLProtocolVersion version, | 103 std::string SSLStreamAdapter::GetDefaultSslCipher(SSLProtocolVersion version, |
| 104 KeyType key_type) { | 104 KeyType key_type) { |
| 105 return NSSStreamAdapter::GetDefaultSslCipher(version, key_type); | 105 return NSSStreamAdapter::GetDefaultSslCipher(version, key_type); |
| 106 } | 106 } |
| 107 #endif // !SSL_USE_SCHANNEL && !SSL_USE_OPENSSL && !SSL_USE_NSS | 107 #endif // !SSL_USE_SCHANNEL && !SSL_USE_OPENSSL && !SSL_USE_NSS |
| 108 | 108 |
| 109 /////////////////////////////////////////////////////////////////////////////// | 109 /////////////////////////////////////////////////////////////////////////////// |
| 110 | 110 |
| 111 } // namespace rtc | 111 } // namespace rtc |
| OLD | NEW |