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_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) | 5 #if defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) |
6 | 6 |
7 #include "bin/builtin.h" | 7 #include "bin/builtin.h" |
8 #include "bin/dartutils.h" | 8 #include "bin/dartutils.h" |
9 #include "include/dart_api.h" | 9 #include "include/dart_api.h" |
10 | 10 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 } | 128 } |
129 | 129 |
130 | 130 |
131 void FUNCTION_NAME(SecurityContext_SetTrustedCertificatesBytes)( | 131 void FUNCTION_NAME(SecurityContext_SetTrustedCertificatesBytes)( |
132 Dart_NativeArguments args) { | 132 Dart_NativeArguments args) { |
133 Dart_ThrowException(DartUtils::NewDartArgumentError( | 133 Dart_ThrowException(DartUtils::NewDartArgumentError( |
134 "Secure Sockets unsupported on this platform")); | 134 "Secure Sockets unsupported on this platform")); |
135 } | 135 } |
136 | 136 |
137 | 137 |
138 void FUNCTION_NAME(SecurityContext_AlpnSupported)(Dart_NativeArguments args) { | |
139 Dart_ThrowException(DartUtils::NewDartArgumentError( | |
140 "Secure Sockets unsupported on this platform")); | |
141 } | |
142 | |
143 | |
144 void FUNCTION_NAME(SecurityContext_TrustBuiltinRoots)( | 138 void FUNCTION_NAME(SecurityContext_TrustBuiltinRoots)( |
145 Dart_NativeArguments args) { | 139 Dart_NativeArguments args) { |
146 Dart_ThrowException(DartUtils::NewDartArgumentError( | 140 Dart_ThrowException(DartUtils::NewDartArgumentError( |
147 "Secure Sockets unsupported on this platform")); | 141 "Secure Sockets unsupported on this platform")); |
148 } | 142 } |
149 | 143 |
150 | 144 |
151 void FUNCTION_NAME(SecurityContext_UseCertificateChainBytes)( | 145 void FUNCTION_NAME(SecurityContext_UseCertificateChainBytes)( |
152 Dart_NativeArguments args) { | 146 Dart_NativeArguments args) { |
153 Dart_ThrowException(DartUtils::NewDartArgumentError( | 147 Dart_ThrowException(DartUtils::NewDartArgumentError( |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 }; | 179 }; |
186 | 180 |
187 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { | 181 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { |
188 return CObject::IllegalArgumentError(); | 182 return CObject::IllegalArgumentError(); |
189 } | 183 } |
190 | 184 |
191 } // namespace bin | 185 } // namespace bin |
192 } // namespace dart | 186 } // namespace dart |
193 | 187 |
194 #endif // defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) | 188 #endif // defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) |
OLD | NEW |