From f712c2b58f2e18ab43567cd0ac6d9155712746cb Mon Sep 17 00:00:00 2001 From: Kirill Fomichev Date: Tue, 17 May 2016 16:38:25 +0300 Subject: [PATCH] doc: remove link to Sign in crypto.md PR-URL: https://github.com/nodejs/node/pull/6812 Reviewed-By: Brian White Reviewed-By: James M Snell Reviewed-By: Roman Reiss --- doc/api/crypto.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index 3b103bdeaa4241..f0d21238be3670 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -719,7 +719,7 @@ console.log(sign.sign(private_key, 'hex')); // Prints the calculated signature ``` -A [`sign`][] instance can also be created by just passing in the digest +A `Sign` instance can also be created by just passing in the digest algorithm name, in which case OpenSSL will infer the full signature algorithm from the type of the PEM-formatted private key, including algorithms that do not have directly exposed name constants, e.g. 'ecdsa-with-SHA256'.