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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 #else // !SSL_USE_SCHANNEL && !SSL_USE_OPENSSL | 50 #else // !SSL_USE_SCHANNEL && !SSL_USE_OPENSSL |
51 return NULL; | 51 return NULL; |
52 #endif | 52 #endif |
53 } | 53 } |
54 | 54 |
55 bool SSLStreamAdapter::GetSslCipherSuite(int* cipher) { | 55 bool SSLStreamAdapter::GetSslCipherSuite(int* cipher) { |
56 return false; | 56 return false; |
57 } | 57 } |
58 | 58 |
59 bool SSLStreamAdapter::ExportKeyingMaterial(const std::string& label, | 59 bool SSLStreamAdapter::ExportKeyingMaterial(const std::string& label, |
60 const uint8* context, | 60 const uint8_t* context, |
61 size_t context_len, | 61 size_t context_len, |
62 bool use_context, | 62 bool use_context, |
63 uint8* result, | 63 uint8_t* result, |
64 size_t result_len) { | 64 size_t result_len) { |
65 return false; // Default is unsupported | 65 return false; // Default is unsupported |
66 } | 66 } |
67 | 67 |
68 bool SSLStreamAdapter::SetDtlsSrtpCiphers( | 68 bool SSLStreamAdapter::SetDtlsSrtpCiphers( |
69 const std::vector<std::string>& ciphers) { | 69 const std::vector<std::string>& ciphers) { |
70 return false; | 70 return false; |
71 } | 71 } |
72 | 72 |
73 bool SSLStreamAdapter::GetDtlsSrtpCipher(std::string* cipher) { | 73 bool SSLStreamAdapter::GetDtlsSrtpCipher(std::string* cipher) { |
(...skipping 25 matching lines...) Expand all Loading... |
99 } | 99 } |
100 | 100 |
101 std::string SSLStreamAdapter::GetSslCipherSuiteName(int cipher) { | 101 std::string SSLStreamAdapter::GetSslCipherSuiteName(int cipher) { |
102 return OpenSSLStreamAdapter::GetSslCipherSuiteName(cipher); | 102 return OpenSSLStreamAdapter::GetSslCipherSuiteName(cipher); |
103 } | 103 } |
104 #endif // !SSL_USE_SCHANNEL && !SSL_USE_OPENSSL | 104 #endif // !SSL_USE_SCHANNEL && !SSL_USE_OPENSSL |
105 | 105 |
106 /////////////////////////////////////////////////////////////////////////////// | 106 /////////////////////////////////////////////////////////////////////////////// |
107 | 107 |
108 } // namespace rtc | 108 } // namespace rtc |
OLD | NEW |