| Index: tests/standalone/io/secure_unauthorized_test.dart
|
| diff --git a/tests/standalone/io/secure_unauthorized_test.dart b/tests/standalone/io/secure_unauthorized_test.dart
|
| index 097a0d01d6da7eb79a8746f8c1c848626cb26115..a600d7458f3ab0b1f444217dbc365a4fb1b77972 100644
|
| --- a/tests/standalone/io/secure_unauthorized_test.dart
|
| +++ b/tests/standalone/io/secure_unauthorized_test.dart
|
| @@ -14,10 +14,9 @@ const HOST_NAME = "localhost";
|
| String localFile(path) => Platform.script.resolve(path).toFilePath();
|
|
|
| SecurityContext serverContext = 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');
|
|
|
| Future<SecureServerSocket> runServer() {
|
| return SecureServerSocket.bind(HOST_NAME, 0, serverContext)
|
|
|