Diffstat (limited to 'src/daemon/https/tls/gnutls_handshake.c')
1 files changed, 0 insertions, 8 deletions
diff --git a/src/daemon/https/tls/gnutls_handshake.c b/src/daemon/https/tls/gnutls_handshake.c
index cb6cd583..f12f4015 100644
@@ -281,19 +281,11 @@ MHD_gtls_negotiate_version (MHD_gtls_session_t session,
* then we send him the highest we support.
ret = MHD_gtls_version_max (session);
- if (ret == MHD_GNUTLS_PROTOCOL_VERSION_UNKNOWN)
- /* this check is not really needed.
- MHD_gnutls_assert ();
- return GNUTLS_E_UNKNOWN_CIPHER_SUITE;
ret = adv_version;
MHD_gtls_set_current_version (session, ret);