Index: tests/standalone/io/http_proxy_test.dart |
diff --git a/tests/standalone/io/http_proxy_test.dart b/tests/standalone/io/http_proxy_test.dart |
index c78aa1fc1e262c51ec28cb945c3d3208c6d8c29e..83d7640a3f6050b1b539a22d76d88a13052ceee5 100644 |
--- a/tests/standalone/io/http_proxy_test.dart |
+++ b/tests/standalone/io/http_proxy_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() |