diff options
author | Matt Caswell <matt@openssl.org> | 2014-12-04 09:22:50 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2014-12-04 14:17:50 +0000 |
commit | 71c16698fa7b88e4ef4fd34ad4bc1920eb09f93a (patch) | |
tree | 3b06b10da1818986bc2e49c06ae78cb4c042c916 | |
parent | 45f55f6a5bdcec411ef08a6f8aae41d5d3d234ad (diff) |
Remove incorrect code inadvertently introduced through commit 59669b6ab.
Reviewed-by: Tim Hudson <tjh@openssl.org>
-rw-r--r-- | ssl/d1_lib.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index 308afff2d4..44c7882f3c 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; |