| 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 #ifndef BIN_SECURE_SOCKET_H_ | 5 #ifndef BIN_SECURE_SOCKET_BORINGSSL_H_ |
| 6 #define BIN_SECURE_SOCKET_H_ | 6 #define BIN_SECURE_SOCKET_BORINGSSL_H_ |
| 7 | 7 |
| 8 #ifdef DART_IO_SECURE_SOCKET_DISABLED | 8 #if !defined(BIN_SECURE_SOCKET_H_) |
| 9 #error "secure_socket.h can only be included on builds with SSL enabled" | 9 #error Do not include secure_socket_boringssl.h directly. Use secure_socket.h. |
| 10 #endif | 10 #endif |
| 11 | 11 |
| 12 #include <stdio.h> | 12 #include <stdio.h> |
| 13 #include <stdlib.h> | 13 #include <stdlib.h> |
| 14 #include <string.h> | 14 #include <string.h> |
| 15 #include <sys/types.h> | 15 #include <sys/types.h> |
| 16 | 16 |
| 17 #include <openssl/bio.h> | 17 #include <openssl/bio.h> |
| 18 #include <openssl/err.h> | 18 #include <openssl/err.h> |
| 19 #include <openssl/ssl.h> | 19 #include <openssl/ssl.h> |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 } | 123 } |
| 124 Dart_Handle InitializeBuffers(Dart_Handle dart_this); | 124 Dart_Handle InitializeBuffers(Dart_Handle dart_this); |
| 125 void InitializePlatformData(); | 125 void InitializePlatformData(); |
| 126 | 126 |
| 127 DISALLOW_COPY_AND_ASSIGN(SSLFilter); | 127 DISALLOW_COPY_AND_ASSIGN(SSLFilter); |
| 128 }; | 128 }; |
| 129 | 129 |
| 130 } // namespace bin | 130 } // namespace bin |
| 131 } // namespace dart | 131 } // namespace dart |
| 132 | 132 |
| 133 #endif // BIN_SECURE_SOCKET_H_ | 133 #endif // BIN_SECURE_SOCKET_BORINGSSL_H_ |
| OLD | NEW |