]> code.delx.au - gnu-emacs/commitdiff
Fix doc string of tls-program
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 5 Feb 2016 07:13:34 +0000 (18:13 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 5 Feb 2016 07:13:34 +0000 (18:13 +1100)
* lisp/net/tls.el (tls-program): Document the %t parameter (bug#22559).

lisp/net/tls.el

index 30895d043c8d9e54c4b446e3f82a525df1996a92..f1219fdddbdb55ecdb00fadb01e33a4dcd8e12b4 100644 (file)
@@ -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.