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 |
11 #ifndef WEBRTC_RTC_BASE_OPENSSLADAPTER_H_ | 11 #ifndef WEBRTC_RTC_BASE_OPENSSLADAPTER_H_ |
12 #define WEBRTC_RTC_BASE_OPENSSLADAPTER_H_ | 12 #define WEBRTC_RTC_BASE_OPENSSLADAPTER_H_ |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 #include "webrtc/rtc_base/buffer.h" | 15 #include "webrtc/base/buffer.h" |
16 #include "webrtc/rtc_base/messagehandler.h" | 16 #include "webrtc/base/messagehandler.h" |
17 #include "webrtc/rtc_base/messagequeue.h" | 17 #include "webrtc/base/messagequeue.h" |
18 #include "webrtc/rtc_base/ssladapter.h" | 18 #include "webrtc/base/ssladapter.h" |
19 | 19 |
20 typedef struct ssl_st SSL; | 20 typedef struct ssl_st SSL; |
21 typedef struct ssl_ctx_st SSL_CTX; | 21 typedef struct ssl_ctx_st SSL_CTX; |
22 typedef struct x509_store_ctx_st X509_STORE_CTX; | 22 typedef struct x509_store_ctx_st X509_STORE_CTX; |
23 | 23 |
24 namespace rtc { | 24 namespace rtc { |
25 | 25 |
26 /////////////////////////////////////////////////////////////////////////////// | 26 /////////////////////////////////////////////////////////////////////////////// |
27 | 27 |
28 class OpenSSLAdapter : public SSLAdapter, public MessageHandler { | 28 class OpenSSLAdapter : public SSLAdapter, public MessageHandler { |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 104 |
105 bool custom_verification_succeeded_; | 105 bool custom_verification_succeeded_; |
106 }; | 106 }; |
107 | 107 |
108 ///////////////////////////////////////////////////////////////////////////// | 108 ///////////////////////////////////////////////////////////////////////////// |
109 | 109 |
110 } // namespace rtc | 110 } // namespace rtc |
111 | 111 |
112 | 112 |
113 #endif // WEBRTC_RTC_BASE_OPENSSLADAPTER_H_ | 113 #endif // WEBRTC_RTC_BASE_OPENSSLADAPTER_H_ |
OLD | NEW |