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 26 matching lines...) Expand all Loading... |
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 |
OLD | NEW |