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 aac78ee4c14c76704c33ab1dee2ace95090264ac..957f87312b24902f60216a27fb74af2bdc39c7fc 100644 |
--- a/tests/standalone/io/raw_secure_server_closing_test.dart |
+++ b/tests/standalone/io/raw_secure_server_closing_test.dart |
@@ -18,8 +18,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() |