From db7df57e0342a5a6922bd2700ffc78c5a99841c8 Mon Sep 17 00:00:00 2001 From: Wang Xinyong Date: Fri, 10 Oct 2014 01:15:05 +0800 Subject: [PATCH] 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 --- doc/api/crypto.markdown | 2 +- doc/api/tls.markdown | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index 4e465d6..b6dcf46 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 7d9aada..1717223 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: -- 2.7.4