Index: tests/standalone/io/raw_secure_socket_pause_test.dart |
diff --git a/tests/standalone/io/raw_secure_socket_pause_test.dart b/tests/standalone/io/raw_secure_socket_pause_test.dart |
index 9ca848ebbc83f189a120228c619c44659c42e488..0073cda744ce5373cd7e6289978ec364047f842d 100644 |
--- a/tests/standalone/io/raw_secure_socket_pause_test.dart |
+++ b/tests/standalone/io/raw_secure_socket_pause_test.dart |
@@ -16,12 +16,12 @@ import "dart:isolate"; |
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')); |
Future<HttpServer> startServer() { |
return HttpServer.bindSecure( |