| 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 4815f2749f6ed64a402aefe6870e6a7c84420318..995130fcf4aae80142626735ae9ad857983dcb17 100644
|
| --- a/tests/standalone/io/secure_unauthorized_test.dart
|
| +++ b/tests/standalone/io/secure_unauthorized_test.dart
|
| @@ -15,8 +15,9 @@ String localFile(path) => Platform.script.resolve(path).toFilePath();
|
| List<int> readLocalFile(path) => (new File(localFile(path))).readAsBytesSync();
|
|
|
| SecurityContext serverContext = new SecurityContext()
|
| - ..useCertificateChain(localFile('certificates/untrusted_server_chain.pem'))
|
| - ..usePrivateKeyAsBytes(readLocalFile('certificates/untrusted_server_key.pem'),
|
| + ..useCertificateChainBytes(readLocalFile(
|
| + 'certificates/untrusted_server_chain.pem'))
|
| + ..usePrivateKeyBytes(readLocalFile('certificates/untrusted_server_key.pem'),
|
| password: 'dartdart');
|
|
|
| Future<SecureServerSocket> runServer() {
|
|
|