提交 71c16698 编写于 作者: M Matt Caswell

Remove incorrect code inadvertently introduced through commit 59669b6a.

Reviewed-by: NTim Hudson <tjh@openssl.org>
上级 45f55f6a
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册