summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDominic Tarr <dominic.tarr@gmail.com>2014-03-31 11:25:41 +1300
committerFedor Indutny <fedor@indutny.com>2014-04-02 15:34:16 +0400
commitcdc093b31f61837321b146415f088ada2fc0c647 (patch)
tree584d05625214749289f992418cb3db68158bd711 /doc
parent47bed4828c69abe39a18e267a7491bcc3d0ce5e5 (diff)
downloadnode-cdc093b31f61837321b146415f088ada2fc0c647.tar.gz
docs: correct tls docs. server -> client
when a pfx file is passed to tls.connection, it is the client private key, not the server's private key.
Diffstat (limited to 'doc')
-rw-r--r--doc/api/tls.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/tls.markdown b/doc/api/tls.markdown
index a09b28510..f834a8374 100644
--- a/doc/api/tls.markdown
+++ b/doc/api/tls.markdown
@@ -252,7 +252,7 @@ Creates a new client connection to the given `port` and `host` (old API) or
are ignored.
- `pfx`: A string or `Buffer` containing the private key, certificate and
- CA certs of the server in PFX or PKCS12 format.
+ CA certs of the client in PFX or PKCS12 format.
- `key`: A string or `Buffer` containing the private key of the client in
PEM format.