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 829946ea34fd1d95eb5116c03bd6724fa34fde60..2b47342db483a87f1d7dd049fb76d7e40e750ae3 100644 |
--- a/tests/standalone/io/secure_client_server_test.dart |
+++ b/tests/standalone/io/secure_client_server_test.dart |
@@ -19,8 +19,8 @@ String localFile(path) => Platform.script.resolve(path).toFilePath(); |
List<int> readLocalFile(path) => (new File(localFile(path))).readAsBytesSync(); |
SecurityContext serverContext = new SecurityContext() |
- ..useCertificateChain(localFile('certificates/server_chain.pem')) |
- ..usePrivateKeyAsBytes(readLocalFile('certificates/server_key.pem'), |
+ ..useCertificateChainBytes(readLocalFile('certificates/server_chain.pem')) |
+ ..usePrivateKeyBytes(readLocalFile('certificates/server_key.pem'), |
password: 'dartdart'); |
SecurityContext clientContext = new SecurityContext() |