summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Xinyong <wang.xy.chn@gmail.com>2014-10-10 01:15:05 +0800
committerTrevor Norris <trev.norris@gmail.com>2014-10-09 11:46:58 -0700
commitdb7df57e0342a5a6922bd2700ffc78c5a99841c8 (patch)
tree268f548c568abb5222e8cc32e4b292f0c28b889c
parent61dd74bc5dfbab6b4db50ea1dd1cc7b7d2867a30 (diff)
downloadnode-new-db7df57e0342a5a6922bd2700ffc78c5a99841c8.tar.gz
doc: correct createSecureContext
Remove incorrect stablity indication of tls.createSecureContext, and format stablity indication of crypto.createCredentials. Fixes: e50749 "doc: document `tls.createSecureContext`" Reviewed-by: Trevor Norris <trev.norris@gmail.com>
-rw-r--r--doc/api/crypto.markdown2
-rw-r--r--doc/api/tls.markdown2
2 files changed, 1 insertions, 3 deletions
diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown
index 4e465d6f55..b6dcf46124 100644
--- a/doc/api/crypto.markdown
+++ b/doc/api/crypto.markdown
@@ -58,7 +58,7 @@ Example:
## crypto.createCredentials(details)
-Stability: 0 - Deprecated. Use [tls.createSecureContext][] instead.
+ Stability: 0 - Deprecated. Use [tls.createSecureContext][] instead.
Creates a credentials object, with the optional details being a
dictionary with keys:
diff --git a/doc/api/tls.markdown b/doc/api/tls.markdown
index 7d9aada8f8..17172239c5 100644
--- a/doc/api/tls.markdown
+++ b/doc/api/tls.markdown
@@ -428,8 +428,6 @@ Construct a new TLSSocket object from existing TCP socket.
## tls.createSecureContext(details)
-Stability: 0 - Deprecated. Use tls.createSecureContext instead.
-
Creates a credentials object, with the optional details being a
dictionary with keys: