Index: runtime/bin/tls_socket_patch.dart |
diff --git a/runtime/bin/tls_socket_patch.dart b/runtime/bin/tls_socket_patch.dart |
index 73e40e815076e40ac68ead319a8e4f350048cf5b..e8fa1cc7e2043a71b63618a15f7d8cdd45f17b11 100644 |
--- a/runtime/bin/tls_socket_patch.dart |
+++ b/runtime/bin/tls_socket_patch.dart |
@@ -3,7 +3,8 @@ |
// BSD-style license that can be found in the LICENSE file. |
patch class TlsSocket { |
- /* patch */ static void setCertificateDatabase(String pkcertDirectory) |
+ /* patch */ static void setCertificateDatabase(String certificateDatabase, |
+ [String password]) |
native "TlsSocket_SetCertificateDatabase"; |
} |
@@ -30,7 +31,10 @@ class _TlsFilterImpl extends NativeFieldWrapperClass1 implements _TlsFilter { |
} |
} |
- void connect(String hostName, int port) native "TlsSocket_Connect"; |
+ void connect(String hostName, |
+ int port, |
+ bool is_server, |
+ String certificate_name) native "TlsSocket_Connect"; |
void destroy() { |
buffers = null; |