summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2014-12-04 09:22:50 +0000
committerMatt Caswell <matt@openssl.org>2014-12-04 14:25:09 +0000
commit954818fe60dc4a4514700d185d79afe6fec72afb (patch)
tree308ee24b6a96dd09d16fbdac8a3b4ed1ae348136
parent027381f68c936d20dfef95e9a1db386b2f89f9f6 (diff)
Remove incorrect code inadvertently introduced through commit 59669b6ab.
Reviewed-by: Tim Hudson <tjh@openssl.org> Conflicts: ssl/d1_lib.c
-rw-r--r--ssl/d1_lib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c
index 813d9c72a5..feed416826 100644
--- a/ssl/d1_lib.c
+++ b/ssl/d1_lib.c
@@ -279,10 +279,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;