From 072d5357c15587af00eeba31033ef5b83d014223 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 1 Feb 2016 03:15:36 +0100 Subject: [PATCH] Add documentation for :tls-parameters * doc/lispref/processes.texi (Network Processes): Mention :tls-parameters. * src/process.c (Fmake_network_process): Document the :tls-parameters parameter. --- doc/lispref/processes.texi | 5 +++++ src/process.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index f660b159386..b658c88ab5d 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi @@ -2418,6 +2418,11 @@ second argument matching @code{"open"} (if successful) or @code{make-network-process} does not return until the connection has succeeded or failed. +@item :tls-parameters +When opening a TLS connection, this should be where the first element +is the TLS type, and the remaining elements should form a keyword list +acceptable for @code{gnutls-boot}. + @item :stop @var{stopped} If @var{stopped} is non-@code{nil}, start the network connection or server in the stopped state. diff --git a/src/process.c b/src/process.c index 0e4fcb2c0a9..13f4b6aa85e 100644 --- a/src/process.c +++ b/src/process.c @@ -3444,6 +3444,10 @@ and MESSAGE is a string. :plist PLIST -- Install PLIST as the new process's initial plist. +:tls-parameters LIST -- is a list that should be supplied if you're +opening a TLS connection. The first element is the TLS type, and the +remaining elements should be a keyword list accepted by gnutls-boot. + :server QLEN -- if QLEN is non-nil, create a server process for the specified FAMILY, SERVICE, and connection type (stream or datagram). If QLEN is an integer, it is used as the max. length of the server's -- 2.39.5