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

Unified Diff: tests/standalone/io/https_server_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/https_client_test.dart ('k') | tests/standalone/io/pkcert/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/https_server_test.dart
diff --git a/tests/standalone/io/https_server_test.dart b/tests/standalone/io/https_server_test.dart
index 8eb639f9976e2583103f1ed7de09ebdc4a0d4530..54b1c71818b5ee420f5da1acac3200a09e143913 100644
--- a/tests/standalone/io/https_server_test.dart
+++ b/tests/standalone/io/https_server_test.dart
@@ -63,8 +63,8 @@ void testListenOn() {
void InitializeSSL() {
var testPkcertDatabase =
new Path.fromNative(new Options().script).directoryPath.append('pkcert/');
- SecureSocket.setCertificateDatabase(testPkcertDatabase.toNativePath(),
- 'dartdart');
+ SecureSocket.initialize(database: testPkcertDatabase.toNativePath(),
+ password: 'dartdart');
}
void main() {
« no previous file with comments | « tests/standalone/io/https_client_test.dart ('k') | tests/standalone/io/pkcert/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698