From fcabfc66aeade294c06259c885d4df1eab06b86c Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 4 Dec 2014 09:22:50 +0000 Subject: [PATCH] Remove incorrect code inadvertently introduced through commit 59669b6ab. Reviewed-by: Tim Hudson Conflicts: ssl/d1_lib.c --- ssl/d1_lib.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index 39058577e2..14337b31a4 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -280,10 +280,6 @@ long dtls1_ctrl(SSL *s, int cmd, long larg, void *parg) /* Just one protocol version is supported so far; * fail closed if the version is not as expected. */ return s->version == DTLS_MAX_VERSION; - - /* 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;