From 1fe6fd8057781b3ad76b94d8dfc9429a4929dca6 Mon Sep 17 00:00:00 2001 From: "Jacob V. Rasmussen" Date: Mon, 1 Apr 2019 13:14:58 +0200 Subject: [PATCH 1/2] Add tls_* options to manual Add tls_* options to the SERVER section of the manual. --- docs/manual.txt | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/manual.txt b/docs/manual.txt index db40e5d3..0f24ffe3 100644 --- a/docs/manual.txt +++ b/docs/manual.txt @@ -394,10 +394,26 @@ 5.4 Server settings - /SERVER ADD [-auto | -noauto] [-network ] [-host ] + /SERVER ADD [-tls] [-tls_cert ] [-tls_pkey ] + [-tls_pass ] [-tls_verify] [-tls_cafile ] + [-tls_capath ] [-tls_ciphers ] + [-tls_pinned_cert ] [-tls_pinned_pubkey ] + [-auto | -noauto] [-network ] [-host ] [-cmdspeed ] [-cmdmax ] [-port ]
[ []] + -tls: Connects using TLS encryption. + -tls_cert: The TLS client certificate file. + -tls_pkey: The TLS client private key, if not included in the + certificate file. + -tls_pass: The password for the TLS client private key or + certificate. + -tls_verify: Verifies the TLS certificate of the server. + -tls_cafile: The file with the list of CA certificates. + -tls_capath: The directory which contains the CA certificates. + -tls_ciphers: TLS cipher suite preference lists. + -tls_pinned_cert: Pinned x509 certificate fingerprint. + -tls_pinned_pubkey: Pinned public key fingerprint. -auto: Automatically connect to server at startup -noauto: Don't connect to server at startup (default) -network: Specify what IRC network this server belongs to From d0bc5b8cf2361dcefc51cc98261ce1d08f1101df Mon Sep 17 00:00:00 2001 From: Jacob V Rasmussen Date: Mon, 1 Apr 2019 17:52:39 +0200 Subject: [PATCH 2/2] Update ssl_* to tls_* in syntax. --- src/fe-common/irc/fe-irc-server.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fe-common/irc/fe-irc-server.c b/src/fe-common/irc/fe-irc-server.c index c4435d8f..c2b9fc0f 100644 --- a/src/fe-common/irc/fe-irc-server.c +++ b/src/fe-common/irc/fe-irc-server.c @@ -51,9 +51,9 @@ const char *get_visible_target(IRC_SERVER_REC *server, const char *target) return target; } -/* SYNTAX: SERVER ADD|MODIFY [-4 | -6] [-ssl] [-ssl_cert ] [-ssl_pkey ] [-ssl_pass ] - [-ssl_verify] [-ssl_cafile ] [-ssl_capath ] - [-ssl_ciphers ] +/* SYNTAX: SERVER ADD|MODIFY [-4 | -6] [-tls] [-tls_cert ] [-tls_pkey ] [-tls_pass ] + [-tls_verify] [-tls_cafile ] [-tls_capath ] + [-tls_ciphers ] [-auto | -noauto] [-network ] [-host ] [-cmdspeed ] [-cmdmax ] [-port ]
[ []] */