aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-02-09 04:15:17 +0000
committerChristian Grothoff <christian@grothoff.org>2009-02-09 04:15:17 +0000
commit0188b891e1ab77685de0138993437f7c3a48377c (patch)
tree64a34ee3357853daa372664701b2ae1190b2524b
parent99ccd5cda5fdb52b633e98e2f7bd09dcc4b73231 (diff)
downloadlibmicrohttpd-0188b891e1ab77685de0138993437f7c3a48377c.tar.gz
libmicrohttpd-0188b891e1ab77685de0138993437f7c3a48377c.zip
dce
-rw-r--r--src/daemon/https/tls/gnutls_handshake.c8
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,
281 * then we send him the highest we support. 281 * then we send him the highest we support.
282 */ 282 */
283 ret = MHD_gtls_version_max (session); 283 ret = MHD_gtls_version_max (session);
284 if (ret == MHD_GNUTLS_PROTOCOL_VERSION_UNKNOWN)
285 {
286 /* this check is not really needed.
287 */
288 MHD_gnutls_assert ();
289 return GNUTLS_E_UNKNOWN_CIPHER_SUITE;
290 }
291 } 284 }
292 else 285 else
293 { 286 {
294 ret = adv_version; 287 ret = adv_version;
295 } 288 }
296
297 MHD_gtls_set_current_version (session, ret); 289 MHD_gtls_set_current_version (session, ret);
298 290
299 return ret; 291 return ret;