| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #if !defined(DART_IO_SECURE_SOCKET_DISABLED) |
| 6 |
| 5 #include "platform/globals.h" | 7 #include "platform/globals.h" |
| 6 #if defined(TARGET_OS_ANDROID) || \ | 8 #if defined(TARGET_OS_ANDROID) || \ |
| 7 defined(TARGET_OS_LINUX) || \ | 9 defined(TARGET_OS_LINUX) || \ |
| 8 defined(TARGET_OS_WINDOWS) | 10 defined(TARGET_OS_WINDOWS) |
| 9 | 11 |
| 10 #include "bin/secure_socket.h" | 12 #include "bin/secure_socket.h" |
| 11 #include "bin/secure_socket_boringssl.h" | 13 #include "bin/secure_socket_boringssl.h" |
| 12 | 14 |
| 13 #include <errno.h> | 15 #include <errno.h> |
| 14 #include <fcntl.h> | 16 #include <fcntl.h> |
| (...skipping 1658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1673 "WriteEncrypted BIO_read wrote %d bytes\n", bytes_processed); | 1675 "WriteEncrypted BIO_read wrote %d bytes\n", bytes_processed); |
| 1674 } | 1676 } |
| 1675 } | 1677 } |
| 1676 return bytes_processed; | 1678 return bytes_processed; |
| 1677 } | 1679 } |
| 1678 | 1680 |
| 1679 } // namespace bin | 1681 } // namespace bin |
| 1680 } // namespace dart | 1682 } // namespace dart |
| 1681 | 1683 |
| 1682 #endif // defined(TARGET_OS_LINUX) | 1684 #endif // defined(TARGET_OS_LINUX) |
| 1685 |
| 1686 #endif // !defined(DART_IO_SECURE_SOCKET_DISABLED) |
| OLD | NEW |