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 |
47 #else // !SSL_USE_OPENSSL | 55 #else // !SSL_USE_OPENSSL |
48 | 56 |
49 bool InitializeSSL(VerificationCallback callback) { | 57 bool InitializeSSL(VerificationCallback callback) { |
50 return true; | 58 return true; |
51 } | 59 } |
52 | 60 |
53 #endif // SSL_USE_OPENSSL | |
54 | |
55 bool InitializeSSLThread() { | 61 bool InitializeSSLThread() { |
56 return true; | 62 return true; |
57 } | 63 } |
58 | 64 |
59 bool CleanupSSL() { | 65 bool CleanupSSL() { |
60 return true; | 66 return true; |
61 } | 67 } |
62 | 68 |
| 69 #endif // SSL_USE_OPENSSL |
| 70 |
63 /////////////////////////////////////////////////////////////////////////////// | 71 /////////////////////////////////////////////////////////////////////////////// |
64 | 72 |
65 } // namespace rtc | 73 } // namespace rtc |
OLD | NEW |