Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Unified Diff: tests/standalone/io/secure_socket_test.dart

Issue 11308271: Add built-in root certificates to dart:io SecureSocket. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add crash to Windows status (issue 7102) Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/standalone/io/secure_server_test.dart ('k') | tests/standalone/io/secure_stream_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/secure_socket_test.dart
diff --git a/tests/standalone/io/secure_socket_test.dart b/tests/standalone/io/secure_socket_test.dart
index 36386f0d9b7dfe8c282439c89413ae18747d7e73..79bfc9b6343460374ff2bf68ac8c3804cb8ba00c 100644
--- a/tests/standalone/io/secure_socket_test.dart
+++ b/tests/standalone/io/secure_socket_test.dart
@@ -26,9 +26,7 @@ void WriteAndClose(Socket socket, String message) {
}
void main() {
- var testPkcertDatabase =
- new Path.fromNative(new Options().script).directoryPath.append('pkcert/');
- SecureSocket.setCertificateDatabase(testPkcertDatabase.toNativePath());
+ SecureSocket.initialize();
// TODO(3593): Use a Dart HTTPS server for this test.
// When we use a Dart HTTPS server, allow --short_socket_write. The flag
// causes fragmentation of the client hello message, which doesn't seem to
« no previous file with comments | « tests/standalone/io/secure_server_test.dart ('k') | tests/standalone/io/secure_stream_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698