Index: tests/standalone/io/secure_socket_renegotiate_test.dart |
diff --git a/tests/standalone/io/secure_socket_renegotiate_test.dart b/tests/standalone/io/secure_socket_renegotiate_test.dart |
index 7cc934682eab00962fd83ef5e59b60000b31c063..457cee63625acca1f018667ff615d15aa01d2541 100644 |
--- a/tests/standalone/io/secure_socket_renegotiate_test.dart |
+++ b/tests/standalone/io/secure_socket_renegotiate_test.dart |
@@ -17,9 +17,9 @@ const HOST_NAME = "localhost"; |
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'); |
Future<SecureServerSocket> runServer() { |
return SecureServerSocket.bind(HOST_NAME, 0, serverContext) |