From 9defa13bbed5e5aa5786f930afa6e85a7aa26c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 14 Apr 2024 19:12:22 +0200 Subject: relay: remove commented code --- src/plugins/relay/api/remote/relay-remote-network.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/plugins/relay') diff --git a/src/plugins/relay/api/remote/relay-remote-network.c b/src/plugins/relay/api/remote/relay-remote-network.c index b076a6c43..97cecd6d0 100644 --- a/src/plugins/relay/api/remote/relay-remote-network.c +++ b/src/plugins/relay/api/remote/relay-remote-network.c @@ -879,22 +879,6 @@ relay_remote_network_connect_cb (const void *pointer, void *data, int status, weechat_printf (NULL, _("%sremote[%s]: error: %s"), weechat_prefix ("error"), remote->name, error); } - if (gnutls_rc == GNUTLS_E_DH_PRIME_UNACCEPTABLE) - { - /* dhkey_size = weechat_config_integer ( */ - /* remote->options[RELAY_REMOTE_OPTION_TLS_DHKEY_SIZE]); */ - /* weechat_printf ( */ - /* NULL, */ - /* _("%sremote[%s]: you should play with option " */ - /* "relay.remote.%s.tls_dhkey_size (current value is %d, try " */ - /* "a lower value like %d or %d)"), */ - /* weechat_prefix ("error"), */ - /* remote->name, */ - /* remote->name, */ - /* dhkey_size, */ - /* dhkey_size / 2, */ - /* dhkey_size / 4); */ - } break; case WEECHAT_HOOK_CONNECT_MEMORY_ERROR: weechat_printf (NULL, _("%sremote[%s]: not enough memory"), -- cgit v1.2.3