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

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

Issue 1808763002: Remove code interfacing legacy openssl. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Further simplifications with boringssl Created 4 years, 9 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
« no previous file with comments | « webrtc/base/opensslstreamadapter.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 26 matching lines...) Expand all
37 } 37 }
38 38
39 /////////////////////////////////////////////////////////////////////////////// 39 ///////////////////////////////////////////////////////////////////////////////
40 40
41 #if SSL_USE_OPENSSL 41 #if SSL_USE_OPENSSL
42 42
43 bool InitializeSSL(VerificationCallback callback) { 43 bool InitializeSSL(VerificationCallback callback) {
44 return OpenSSLAdapter::InitializeSSL(callback); 44 return OpenSSLAdapter::InitializeSSL(callback);
45 } 45 }
46 46
47 bool InitializeSSLThread() {
48 return OpenSSLAdapter::InitializeSSLThread();
49 }
50
51 bool CleanupSSL() {
52 return OpenSSLAdapter::CleanupSSL();
53 }
54
55 #else // !SSL_USE_OPENSSL 47 #else // !SSL_USE_OPENSSL
56 48
57 bool InitializeSSL(VerificationCallback callback) { 49 bool InitializeSSL(VerificationCallback callback) {
58 return true; 50 return true;
59 } 51 }
60 52
53 #endif // SSL_USE_OPENSSL
54
61 bool InitializeSSLThread() { 55 bool InitializeSSLThread() {
62 return true; 56 return true;
63 } 57 }
64 58
65 bool CleanupSSL() { 59 bool CleanupSSL() {
66 return true; 60 return true;
67 } 61 }
68 62
69 #endif // SSL_USE_OPENSSL
70
71 /////////////////////////////////////////////////////////////////////////////// 63 ///////////////////////////////////////////////////////////////////////////////
72 64
73 } // namespace rtc 65 } // namespace rtc
OLDNEW
« no previous file with comments | « webrtc/base/opensslstreamadapter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698