summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-02-05 18:13:34 +1100
committerLars Ingebrigtsen <larsi@gnus.org>2016-02-05 18:13:34 +1100
commitdc6eed2592da9262a9318f49e8ed6cc1f31d5c68 (patch)
treee141ba5ca6ff35c02541c34dd8b1c012cc6ea096
parent1ef309fc88368f0ff51865be94ef4a8efd01f3fe (diff)
downloademacs-dc6eed2592da9262a9318f49e8ed6cc1f31d5c68.tar.gz
Fix doc string of tls-program
* lisp/net/tls.el (tls-program): Document the %t parameter (bug#22559).
-rw-r--r--lisp/net/tls.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/net/tls.el b/lisp/net/tls.el
index 30895d043c8..f1219fdddbd 100644
--- a/lisp/net/tls.el
+++ b/lisp/net/tls.el
@@ -82,7 +82,8 @@ and `gnutls-cli' (version 2.0.1) output."
"openssl s_client -connect %h:%p -no_ssl2 -ign_eof")
"List of strings containing commands to start TLS stream to a host.
Each entry in the list is tried until a connection is successful.
-%h is replaced with server hostname, %p with port to connect to.
+%h is replaced with the server hostname, %p with the port to
+connect to, and %t with a file name containing trusted certificates.
The program should read input on stdin and write output to stdout.
See `tls-checktrust' on how to check trusted root certs.