From f6119b76d73b9cdff3cbfd902675a36bcacbcd48 Mon Sep 17 00:00:00 2001 From: Marius Halden Date: Sun, 8 Nov 2015 08:58:37 +0100 Subject: Start adding ssl support --- root_commands.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'root_commands.c') diff --git a/root_commands.c b/root_commands.c index dcf7a7ed..d731b0d9 100644 --- a/root_commands.c +++ b/root_commands.c @@ -1315,6 +1315,13 @@ static void cmd_nick(irc_t *irc, char **cmd) irc_rootmsg(irc, "This command is deprecated. Try: account %s set display_name", cmd[1]); } +#ifdef WITH_GNUTLS +static void cmd_certfp(irc_t *irc, char **cmd) +{ + irc_rootmsg(irc, "Show current/set new certfp"); +} +#endif + /* Maybe this should be a stand-alone command as well? */ static void bitlbee_whatsnew(irc_t *irc) { @@ -1365,6 +1372,9 @@ command_t root_commands[] = { { "set", 0, cmd_set, 0 }, { "transfer", 0, cmd_transfer, 0 }, { "yes", 0, cmd_yesno, 0 }, +#ifdef WITH_GNUTLS + { "certfp", 1, cmd_certfp, 0 }, +#endif /* Not expecting too many plugins adding root commands so just make a dumb array with some empty entried at the end. */ { NULL }, -- cgit v1.2.3