| Index: tests/standalone/io/https_unauthorized_test.dart
|
| diff --git a/tests/standalone/io/https_unauthorized_test.dart b/tests/standalone/io/https_unauthorized_test.dart
|
| index cfa54c201ed8371fb709f9a75ae98c59865379be..a556626d863058f089544bf0c61fd6080b9f8a4d 100644
|
| --- a/tests/standalone/io/https_unauthorized_test.dart
|
| +++ b/tests/standalone/io/https_unauthorized_test.dart
|
| @@ -16,13 +16,12 @@ const CERTIFICATE = "localhost_cert";
|
| String localFile(path) => Platform.script.resolve(path).toFilePath();
|
|
|
| SecurityContext untrustedServerContext = new SecurityContext()
|
| - ..useCertificateChainSync(localFile(
|
| - 'certificates/untrusted_server_chain.pem'))
|
| - ..usePrivateKeySync(localFile('certificates/untrusted_server_key.pem'),
|
| - password: 'dartdart');
|
| + ..useCertificateChain(localFile('certificates/untrusted_server_chain.pem'))
|
| + ..usePrivateKey(localFile('certificates/untrusted_server_key.pem'),
|
| + password: 'dartdart');
|
|
|
| SecurityContext clientContext = new SecurityContext()
|
| - ..setTrustedCertificatesSync(localFile('certificates/trusted_certs.pem'));
|
| + ..setTrustedCertificates(localFile('certificates/trusted_certs.pem'));
|
|
|
| Future<SecureServerSocket> runServer() {
|
| return HttpServer.bindSecure(
|
|
|