| Index: sdk/lib/io/http.dart
|
| diff --git a/sdk/lib/io/http.dart b/sdk/lib/io/http.dart
|
| index c63d28bbce211b81f032f3128ae0a97a05ba9a6e..99f3f104efb5eaff60a8cd615e5d6bb4bfe5f2c8 100644
|
| --- a/sdk/lib/io/http.dart
|
| +++ b/sdk/lib/io/http.dart
|
| @@ -100,7 +100,7 @@ abstract class HttpStatus {
|
| * import 'dart:io';
|
| * import "dart:isolate";
|
| *
|
| - * main() {
|
| + * main() async {
|
| * SecurityContext context = new SecurityContext();
|
| * var chain =
|
| * Platform.script.resolve('certificates/server_chain.pem')
|
| @@ -109,7 +109,7 @@ abstract class HttpStatus {
|
| * Platform.script.resolve('certificates/server_key.pem')
|
| * .toFilePath();
|
| * context.useCertificateChain(chain);
|
| - * context.usePrivateKey(key, password: 'dartdart');
|
| + * await context.usePrivateKey(key, password: 'dartdart');
|
| *
|
| * HttpServer
|
| * .bindSecure(InternetAddress.ANY_IP_V6,
|
|
|