Remove incorrect code inadvertently introduced through commit 59669b6ab.
Reviewed-by: Tim Hudson <tjh@openssl.org> Conflicts: ssl/d1_lib.c
This commit is contained in:
parent
9844573039
commit
fcabfc66ae
@ -280,10 +280,6 @@ long dtls1_ctrl(SSL *s, int cmd, long larg, void *parg)
|
|||||||
/* Just one protocol version is supported so far;
|
/* Just one protocol version is supported so far;
|
||||||
* fail closed if the version is not as expected. */
|
* fail closed if the version is not as expected. */
|
||||||
return s->version == DTLS_MAX_VERSION;
|
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:
|
case DTLS_CTRL_SET_LINK_MTU:
|
||||||
if (larg < (long)dtls1_link_min_mtu())
|
if (larg < (long)dtls1_link_min_mtu())
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user