OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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_DISABLED) && !defined(DART_IO_SECURE_SOCKET_DISABLED) | 5 #if !defined(DART_IO_SECURE_SOCKET_DISABLED) |
6 | 6 |
7 #include "bin/secure_socket_utils.h" | 7 #include "bin/secure_socket_utils.h" |
8 | 8 |
9 #include <openssl/err.h> | 9 #include <openssl/err.h> |
10 #include <openssl/ssl.h> | 10 #include <openssl/ssl.h> |
11 | 11 |
12 #include "platform/globals.h" | 12 #include "platform/globals.h" |
13 | 13 |
14 #include "bin/file.h" | 14 #include "bin/file.h" |
15 #include "bin/log.h" | 15 #include "bin/log.h" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 void SecureSocketUtils::CheckStatus(int status, | 86 void SecureSocketUtils::CheckStatus(int status, |
87 const char* type, | 87 const char* type, |
88 const char* message) { | 88 const char* message) { |
89 SecureSocketUtils::CheckStatusSSL(status, type, message, NULL); | 89 SecureSocketUtils::CheckStatusSSL(status, type, message, NULL); |
90 } | 90 } |
91 | 91 |
92 } // namespace bin | 92 } // namespace bin |
93 } // namespace dart | 93 } // namespace dart |
94 | 94 |
95 #endif // !defined(DART_IO_DISABLED) && | 95 #endif // !defined(DART_IO_SECURE_SOCKET_DISABLED) |
96 // !defined(DART_IO_SECURE_SOCKET_DISABLED) | |
OLD | NEW |