Index: tests/standalone/io/http_proxy_advanced_test.dart |
diff --git a/tests/standalone/io/http_proxy_advanced_test.dart b/tests/standalone/io/http_proxy_advanced_test.dart |
index 3eb0d08c4d7e178890945e228e1acb2c62ae1802..5be2ad1cdb5dee002a44c65a33e100916c42c42c 100644 |
--- a/tests/standalone/io/http_proxy_advanced_test.dart |
+++ b/tests/standalone/io/http_proxy_advanced_test.dart |
@@ -13,8 +13,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() |