Index: runtime/bin/secure_socket_patch.dart |
diff --git a/runtime/bin/secure_socket_patch.dart b/runtime/bin/secure_socket_patch.dart |
index 104f5622f57e5866f737b41e42a9a6a4577c71e0..96d6565ae21e6e4bd5d4b07cac47f952badedd23 100644 |
--- a/runtime/bin/secure_socket_patch.dart |
+++ b/runtime/bin/secure_socket_patch.dart |
@@ -9,7 +9,11 @@ patch class SecureSocket { |
/* patch */ static void initialize({String database, |
String password, |
bool useBuiltinRoots: true}) |
- native "SecureSocket_InitializeLibrary"; |
+ native "SecureSocket_InitializeLibrary"; |
+ |
+ /* patch */ static X509Certificate addCertificate(List<int> certificate, |
+ String trust) |
+ native "SecureSocket_AddCertificate"; |
} |