From: Tim Kuijsten Date: Tue, 20 Nov 2012 16:15:17 +0000 (+0100) Subject: doc: fix typo in setPrivateKey function signature X-Git-Tag: v0.9.4~78 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f9ed28fac9db8ca34169059962118209826b28a;p=platform%2Fupstream%2Fnodejs.git doc: fix typo in setPrivateKey function signature --- diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index 28fda50..4a5735d 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -366,7 +366,7 @@ Sets the Diffie-Hellman public key. Key encoding can be `'binary'`, `'hex'` or `'base64'`. If no encoding is provided, then a buffer is expected. -### diffieHellman.setPrivateKey(public_key, [encoding]) +### diffieHellman.setPrivateKey(private_key, [encoding]) Sets the Diffie-Hellman private key. Key encoding can be `'binary'`, `'hex'` or `'base64'`. If no encoding is provided, then a buffer is