1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00:00

Merge pull request #1494 from RealKindOne/master

Add -notls and -notls_verify into help file and src/core/chat-commands.c

(cherry picked from commit e7f1268478)
This commit is contained in:
ailin-nemui 2023-09-09 11:00:37 +00:00 committed by Ailin Nemui
parent db4dad3dd0
commit 7145e1ef20
2 changed files with 5 additions and 3 deletions

View File

@ -16,11 +16,13 @@
-4: Connects using IPv4. -4: Connects using IPv4.
-6: Connects using IPv6. -6: Connects using IPv6.
-tls: Connects using TLS encryption. -tls: Connects using TLS encryption.
-notls: Connect without TLS encrption.
-tls_cert: The TLS client certificate file. -tls_cert: The TLS client certificate file.
-tls_pkey: The TLS client private key, if not included in the -tls_pkey: The TLS client private key, if not included in the
certificate file. certificate file.
-tls_pass: The password for the TLS client private key or certificate. -tls_pass: The password for the TLS client private key or certificate.
-tls_verify: Verifies the TLS certificate of the server. -tls_verify: Verifies the TLS certificate of the server.
-notls_verify: Doesn't verify the TLS certificate of the server.
-tls_cafile: The file with the list of CA certificates. -tls_cafile: The file with the list of CA certificates.
-tls_capath: The directory which contains the CA certificates. -tls_capath: The directory which contains the CA certificates.
-tls_ciphers: TLS cipher suite preference lists. -tls_ciphers: TLS cipher suite preference lists.

View File

@ -211,8 +211,8 @@ static void cmd_server(const char *data, SERVER_REC *server, WI_ITEM_REC *item)
command_runsub("server", data, server, item); command_runsub("server", data, server, item);
} }
/* SYNTAX: SERVER CONNECT [-4 | -6] [-tls] [-tls_cert <cert>] [-tls_pkey <pkey>] /* SYNTAX: SERVER CONNECT [-4 | -6] [-tls | -notls] [-tls_cert <cert>] [-tls_pkey <pkey>]
[-tls_pass <password>] [-tls_verify] [-tls_cafile <cafile>] [-tls_pass <password>] [-tls_verify | -notls_verify] [-tls_cafile <cafile>]
[-tls_capath <capath>] [-tls_ciphers <list>] [-tls_capath <capath>] [-tls_ciphers <list>]
[-tls_pinned_cert <fingerprint>] [-tls_pinned_pubkey <fingerprint>] [-tls_pinned_cert <fingerprint>] [-tls_pinned_pubkey <fingerprint>]
[-!] [-noautosendcmd] [-nocap] [-!] [-noautosendcmd] [-nocap]