Index: sdk/lib/io/http.dart |
diff --git a/sdk/lib/io/http.dart b/sdk/lib/io/http.dart |
index cfdcc10e68b80c72639f9e7a9cb6f8e3fe826408..c63d28bbce211b81f032f3128ae0a97a05ba9a6e 100644 |
--- a/sdk/lib/io/http.dart |
+++ b/sdk/lib/io/http.dart |
@@ -108,8 +108,8 @@ abstract class HttpStatus { |
* var key = |
* Platform.script.resolve('certificates/server_key.pem') |
* .toFilePath(); |
- * context.useCertificateChainSync(chain); |
- * context.usePrivateKeySync(key, password: 'dartdart'); |
+ * context.useCertificateChain(chain); |
+ * context.usePrivateKey(key, password: 'dartdart'); |
* |
* HttpServer |
* .bindSecure(InternetAddress.ANY_IP_V6, |