From cdc093b31f61837321b146415f088ada2fc0c647 Mon Sep 17 00:00:00 2001 From: Dominic Tarr Date: Mon, 31 Mar 2014 11:25:41 +1300 Subject: 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. --- doc/api/tls.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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. -- cgit v1.2.1