Index: tests/standalone/io/secure_client_server_test.dart |
diff --git a/tests/standalone/io/secure_client_server_test.dart b/tests/standalone/io/secure_client_server_test.dart |
index 360e9e4d970e9c531850927872fbf9a678346d8d..4d928ef0ac6aea16d8a80f610ded02458f66f723 100644 |
--- a/tests/standalone/io/secure_client_server_test.dart |
+++ b/tests/standalone/io/secure_client_server_test.dart |
@@ -18,12 +18,12 @@ InternetAddress HOST; |
String localFile(path) => Platform.script.resolve(path).toFilePath(); |
SecurityContext serverContext = new SecurityContext() |
- ..useCertificateChainSync(localFile('certificates/server_chain.pem')) |
- ..usePrivateKeySync(localFile('certificates/server_key.pem'), |
- password: 'dartdart'); |
+ ..useCertificateChain(localFile('certificates/server_chain.pem')) |
+ ..usePrivateKey(localFile('certificates/server_key.pem'), |
+ password: 'dartdart'); |
SecurityContext clientContext = new SecurityContext() |
- ..setTrustedCertificatesSync( |
+ ..setTrustedCertificates( |
localFile('certificates/trusted_certs.pem')); |