diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-02-09 04:15:17 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-02-09 04:15:17 +0000 |
commit | 0188b891e1ab77685de0138993437f7c3a48377c (patch) | |
tree | 64a34ee3357853daa372664701b2ae1190b2524b | |
parent | 99ccd5cda5fdb52b633e98e2f7bd09dcc4b73231 (diff) |
dce
-rw-r--r-- | src/daemon/https/tls/gnutls_handshake.c | 8 |
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 --- a/src/daemon/https/tls/gnutls_handshake.c +++ b/src/daemon/https/tls/gnutls_handshake.c @@ -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; - } } else { ret = adv_version; } - MHD_gtls_set_current_version (session, ret); return ret; |