summaryrefslogtreecommitdiff
path: root/src/plugins/relay
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-04-14 19:12:22 +0200
committerSébastien Helleu <flashcode@flashtux.org>2024-04-14 19:12:22 +0200
commit9defa13bbed5e5aa5786f930afa6e85a7aa26c34 (patch)
tree900619042d4fa2fb27f490a9905fe165af84a47d /src/plugins/relay
parent984fdb2b58bff0eeb4b4a4abe78b39ae3fd77861 (diff)
downloadweechat-9defa13bbed5e5aa5786f930afa6e85a7aa26c34.zip
relay: remove commented code
Diffstat (limited to 'src/plugins/relay')
-rw-r--r--src/plugins/relay/api/remote/relay-remote-network.c16
1 files changed, 0 insertions, 16 deletions
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"),