diff --git a/src/daemon/https/tls/gnutls_algorithms.c b/src/daemon/https/tls/gnutls_algorithms.c index dd223636..5534c1c8 100644 --- a/src/daemon/https/tls/gnutls_algorithms.c +++ b/src/daemon/https/tls/gnutls_algorithms.c @@ -1286,22 +1286,6 @@ MHD_gtls_supported_ciphersuites (MHD_gtls_session_t session, ret_count = j; -#if 0 /* expensive */ - if (ret_count > 0 && ret_count != count) - { - ciphers = - MHD_gtls_realloc_fast (ciphers, ret_count * sizeof (cipher_suite_st)); - } - else - { - if (ret_count != count) - { - MHD_gnutls_free (ciphers); - ciphers = NULL; - } - } -#endif - MHD_gnutls_afree (tmp_ciphers); /* This function can no longer return 0 cipher suites.