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 2e7bcec4a86d8efe102a6df6bb545e869f25cae5..3462c3055547a341913cc261fedf0a8d43125bf5 100644 |
--- a/tests/standalone/io/raw_secure_socket_test.dart |
+++ b/tests/standalone/io/raw_secure_socket_test.dart |
@@ -17,8 +17,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() |