| 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 #if HAVE_OPENSSL_SSL_H | 11 #if HAVE_OPENSSL_SSL_H |
| 12 | 12 |
| 13 #include "webrtc/base/opensslstreamadapter.h" | 13 #include "webrtc/base/opensslstreamadapter.h" |
| 14 | 14 |
| 15 #include <openssl/bio.h> | 15 #include <openssl/bio.h> |
| 16 #include <openssl/crypto.h> | 16 #include <openssl/crypto.h> |
| 17 #include <openssl/err.h> | 17 #include <openssl/err.h> |
| 18 #include <openssl/rand.h> | 18 #include <openssl/rand.h> |
| 19 #include <openssl/tls1.h> | 19 #include <openssl/tls1.h> |
| 20 #include <openssl/x509v3.h> | 20 #include <openssl/x509v3.h> |
| 21 #ifndef OPENSSL_IS_BORINGSSL | 21 #ifndef OPENSSL_IS_BORINGSSL |
| 22 #include <openssl/dtls1.h> | 22 #include <openssl/dtls1.h> |
| 23 #include <openssl/ssl.h> |
| 23 #endif | 24 #endif |
| 24 | 25 |
| 25 #include <memory> | 26 #include <memory> |
| 26 #include <vector> | 27 #include <vector> |
| 27 | 28 |
| 28 #include "webrtc/base/checks.h" | 29 #include "webrtc/base/checks.h" |
| 29 #include "webrtc/base/common.h" | 30 #include "webrtc/base/common.h" |
| 30 #include "webrtc/base/logging.h" | 31 #include "webrtc/base/logging.h" |
| 31 #include "webrtc/base/safe_conversions.h" | 32 #include "webrtc/base/safe_conversions.h" |
| 32 #include "webrtc/base/stream.h" | 33 #include "webrtc/base/stream.h" |
| (...skipping 1226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1259 return true; | 1260 return true; |
| 1260 } | 1261 } |
| 1261 } | 1262 } |
| 1262 | 1263 |
| 1263 return false; | 1264 return false; |
| 1264 } | 1265 } |
| 1265 | 1266 |
| 1266 } // namespace rtc | 1267 } // namespace rtc |
| 1267 | 1268 |
| 1268 #endif // HAVE_OPENSSL_SSL_H | 1269 #endif // HAVE_OPENSSL_SSL_H |
| OLD | NEW |