Index: tests/standalone/io/raw_secure_server_closing_test.dart |
diff --git a/tests/standalone/io/raw_secure_server_closing_test.dart b/tests/standalone/io/raw_secure_server_closing_test.dart |
index b63da9ede346c5eb5c87d5923ca22918a2a0d7cf..e6c084a829733e0da3cd4915839533854d3a39e6 100644 |
--- a/tests/standalone/io/raw_secure_server_closing_test.dart |
+++ b/tests/standalone/io/raw_secure_server_closing_test.dart |
@@ -17,12 +17,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(localFile('certificates/trusted_certs.pem')); |
+ ..setTrustedCertificates(localFile('certificates/trusted_certs.pem')); |
void testCloseOneEnd(String toClose) { |
asyncStart(); |