From: Matt Caswell Date: Thu, 4 Dec 2014 09:22:50 +0000 (+0000) Subject: Remove incorrect code inadvertently introduced through commit 59669b6ab. X-Git-Tag: OpenSSL_1_0_2~146 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=9a6e9942405cd2d40cf7cbc540889e178a6c177f Remove incorrect code inadvertently introduced through commit 59669b6ab. Reviewed-by: Tim Hudson --- diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index 0a4d790dd6..d0165bd1be 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -317,10 +317,6 @@ long dtls1_ctrl(SSL *s, int cmd, long larg, void *parg) return s->version == DTLS1_VERSION; } return 0; /* Unexpected state; fail closed. */ - - /* Just one protocol version is supported so far; - * fail closed if the version is not as expected. */ - return s->version == DTLS_MAX_VERSION; case DTLS_CTRL_SET_LINK_MTU: if (larg < (long)dtls1_link_min_mtu()) return 0;