Index: tests/standalone/io/raw_secure_socket_test.dart |
diff --git a/tests/standalone/io/raw_secure_socket_test.dart b/tests/standalone/io/raw_secure_socket_test.dart |
index 04d84172464de75dbf9311829fe65bc576e4f6ae..df3994e83bee025fea78dd10b2270f122f2fff0c 100644 |
--- a/tests/standalone/io/raw_secure_socket_test.dart |
+++ b/tests/standalone/io/raw_secure_socket_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')); |
main() async { |
List<int> message = "GET / HTTP/1.0\r\nHost: localhost\r\n\r\n".codeUnits; |