Index: tests/standalone/io/socket_upgrade_to_secure_test.dart |
diff --git a/tests/standalone/io/socket_upgrade_to_secure_test.dart b/tests/standalone/io/socket_upgrade_to_secure_test.dart |
index 4cdaa7fcfa68846fcf88357c6b55bb6b3431c4a1..5fa44e617a33f37f0d0a9f64b10a69f876d74096 100644 |
--- a/tests/standalone/io/socket_upgrade_to_secure_test.dart |
+++ b/tests/standalone/io/socket_upgrade_to_secure_test.dart |
@@ -23,7 +23,8 @@ SecurityContext serverContext = new SecurityContext() |
password: 'dartdart'); |
SecurityContext clientContext = new SecurityContext() |
- ..setTrustedCertificates(file: localFile('certificates/trusted_certs.pem')); |
+ ..setTrustedCertificatesBytes( |
+ readLocalFile('certificates/trusted_certs.pem')); |
// This test creates a server and a client connects. After connecting |
// and an optional initial handshake the connection is secured by |