Index: dart/runtime/bin/secure_socket_unsupported.cc |
diff --git a/dart/runtime/bin/secure_socket_unsupported.cc b/dart/runtime/bin/secure_socket_unsupported.cc |
index f382425d7c09cfdd62eba1685e299ac2da34636a..ff7cce6399c90a04196d6e9727e6e888adbdd69a 100644 |
--- a/dart/runtime/bin/secure_socket_unsupported.cc |
+++ b/dart/runtime/bin/secure_socket_unsupported.cc |
@@ -41,6 +41,13 @@ void FUNCTION_NAME(SecureSocket_Handshake)(Dart_NativeArguments args) { |
} |
+void FUNCTION_NAME(SecureSocket_GetSelectedProtocol)( |
+ Dart_NativeArguments args) { |
+ Dart_ThrowException(DartUtils::NewDartArgumentError( |
+ "Secure Sockets unsupported on this platform")); |
+} |
+ |
+ |
void FUNCTION_NAME(SecureSocket_RegisterHandshakeCompleteCallback)( |
Dart_NativeArguments args) { |
Dart_ThrowException(DartUtils::NewDartArgumentError( |