summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2019-11-18 10:48:29 +0100
committerRobert Pluim <rpluim@gmail.com>2019-11-23 18:51:08 +0100
commit8934762bb37273e6606097de92dcc2556456acd2 (patch)
treef221324e9e52e5cffe43929f3beb244579aa5288 /lisp
parenta27c8929f2ab26dc0d27c8969857d3bc108747f5 (diff)
downloademacs-8934762bb37273e6606097de92dcc2556456acd2.tar.gz
emacs-8934762bb37273e6606097de92dcc2556456acd2.tar.bz2
emacs-8934762bb37273e6606097de92dcc2556456acd2.zip
Default network-stream-use-client-certificates to nil
* lisp/net/network-stream.el (network-stream-use-client-certificates): Default to nil. (open-network-stream): Adapt description to new default of network-stream-use-client-certificates. * etc/NEWS: network-stream-use-client-certificates defaults to nil now. * doc/lispref/processes.texi (Network): Flip network-stream-use-client-certificates description. * doc/misc/auth.texi (Help for users): Mention network-stream-use-client-certificates.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/network-stream.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/net/network-stream.el b/lisp/net/network-stream.el
index 1571c761893..9a796d93ab8 100644
--- a/lisp/net/network-stream.el
+++ b/lisp/net/network-stream.el
@@ -58,7 +58,7 @@
(defvar starttls-gnutls-program)
(defvar starttls-program)
-(defcustom network-stream-use-client-certificates t
+(defcustom network-stream-use-client-certificates nil
"Whether to use client certificates for network connections.
When non-nil, `open-network-stream' will automatically look for
@@ -144,12 +144,12 @@ values:
:client-certificate should either be a list where the first
element is the certificate key file name, and the second
- element is the certificate file name itself, or t, which
- means that `auth-source' will be queried for the key and the
+ element is the certificate file name itself, or t, which means
+ that `auth-source' will be queried for the key and the
certificate. This parameter will only be used when doing TLS
- or STARTTLS connections. If :client-certificate is not
- specified, behave as if it were t, customize
- `network-stream-use-client-certificates' to change this.
+ or STARTTLS connections. To enable automatic queries of
+ `auth-source' when `:client-certificate' is not specified
+ customize `network-stream-use-client-certificates' to t.
:use-starttls-if-possible is a boolean that says to do opportunistic
STARTTLS upgrades even if Emacs doesn't have built-in TLS functionality.