diff options
| author | Robert Pluim | 2019-11-18 10:48:29 +0100 |
|---|---|---|
| committer | Robert Pluim | 2019-11-23 18:51:08 +0100 |
| commit | 8934762bb37273e6606097de92dcc2556456acd2 (patch) | |
| tree | f221324e9e52e5cffe43929f3beb244579aa5288 /lisp | |
| parent | a27c8929f2ab26dc0d27c8969857d3bc108747f5 (diff) | |
| download | emacs-8934762bb37273e6606097de92dcc2556456acd2.tar.gz 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.el | 12 |
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 @@ | |||
| 58 | (defvar starttls-gnutls-program) | 58 | (defvar starttls-gnutls-program) |
| 59 | (defvar starttls-program) | 59 | (defvar starttls-program) |
| 60 | 60 | ||
| 61 | (defcustom network-stream-use-client-certificates t | 61 | (defcustom network-stream-use-client-certificates nil |
| 62 | "Whether to use client certificates for network connections. | 62 | "Whether to use client certificates for network connections. |
| 63 | 63 | ||
| 64 | When non-nil, `open-network-stream' will automatically look for | 64 | When non-nil, `open-network-stream' will automatically look for |
| @@ -144,12 +144,12 @@ values: | |||
| 144 | 144 | ||
| 145 | :client-certificate should either be a list where the first | 145 | :client-certificate should either be a list where the first |
| 146 | element is the certificate key file name, and the second | 146 | element is the certificate key file name, and the second |
| 147 | element is the certificate file name itself, or t, which | 147 | element is the certificate file name itself, or t, which means |
| 148 | means that `auth-source' will be queried for the key and the | 148 | that `auth-source' will be queried for the key and the |
| 149 | certificate. This parameter will only be used when doing TLS | 149 | certificate. This parameter will only be used when doing TLS |
| 150 | or STARTTLS connections. If :client-certificate is not | 150 | or STARTTLS connections. To enable automatic queries of |
| 151 | specified, behave as if it were t, customize | 151 | `auth-source' when `:client-certificate' is not specified |
| 152 | `network-stream-use-client-certificates' to change this. | 152 | customize `network-stream-use-client-certificates' to t. |
| 153 | 153 | ||
| 154 | :use-starttls-if-possible is a boolean that says to do opportunistic | 154 | :use-starttls-if-possible is a boolean that says to do opportunistic |
| 155 | STARTTLS upgrades even if Emacs doesn't have built-in TLS functionality. | 155 | STARTTLS upgrades even if Emacs doesn't have built-in TLS functionality. |