diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2015-01-19 23:52:33 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2015-01-19 23:52:33 +0100 |
commit | e2be01833f2593b90c4059f712a9a2e2cf01ea43 (patch) | |
tree | 0d9e9cef53e82356c236bdcc97d8f10c86159865 /src/plugins/irc/irc-command.c | |
parent | 083a6c741dfae78ce74246910a5c5ba3566bba0a (diff) | |
download | weechat-e2be01833f2593b90c4059f712a9a2e2cf01ea43.zip |
irc: add support of "ecdsa-nist256p-challenge" SASL mechanism (closes #251)
Diffstat (limited to 'src/plugins/irc/irc-command.c')
-rw-r--r-- | src/plugins/irc/irc-command.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index 42c49a018..cabe44bbb 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -4477,6 +4477,14 @@ irc_command_display_server (struct t_irc_server *server, int with_detail) weechat_printf (NULL, " sasl_password. . . . : %s%s", IRC_COLOR_CHAT_VALUE, _("(hidden)")); + /* sasl_key */ + if (weechat_config_option_is_null (server->options[IRC_SERVER_OPTION_SASL_KEY])) + weechat_printf (NULL, " sasl_key. . . . . . : ('%s')", + IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_SASL_KEY)); + else + weechat_printf (NULL, " sasl_key. . . . . . : %s'%s'", + IRC_COLOR_CHAT_VALUE, + weechat_config_string (server->options[IRC_SERVER_OPTION_SASL_KEY])); /* sasl_timeout */ if (weechat_config_option_is_null (server->options[IRC_SERVER_OPTION_SASL_TIMEOUT])) weechat_printf (NULL, " sasl_timeout . . . . : (%d %s)", |