Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: webrtc/base/sslstreamadapter.cc

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + compile Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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(uint16_t* cipher) { 55 bool SSLStreamAdapter::GetSslCipherSuite(uint16_t* 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 27 matching lines...) Expand all
101 } 101 }
102 102
103 std::string SSLStreamAdapter::GetSslCipherSuiteName(uint16_t cipher) { 103 std::string SSLStreamAdapter::GetSslCipherSuiteName(uint16_t cipher) {
104 return OpenSSLStreamAdapter::GetSslCipherSuiteName(cipher); 104 return OpenSSLStreamAdapter::GetSslCipherSuiteName(cipher);
105 } 105 }
106 #endif // !SSL_USE_SCHANNEL && !SSL_USE_OPENSSL 106 #endif // !SSL_USE_SCHANNEL && !SSL_USE_OPENSSL
107 107
108 /////////////////////////////////////////////////////////////////////////////// 108 ///////////////////////////////////////////////////////////////////////////////
109 109
110 } // namespace rtc 110 } // namespace rtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698