projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b3c130
)
Remove incorrect code inadvertently introduced through commit 59669b6ab.
author
Matt Caswell
<matt@openssl.org>
Thu, 4 Dec 2014 09:22:50 +0000
(09:22 +0000)
committer
Matt Caswell
<matt@openssl.org>
Thu, 4 Dec 2014 14:18:45 +0000
(14:18 +0000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
ssl/d1_lib.c
patch
|
blob
|
history
diff --git
a/ssl/d1_lib.c
b/ssl/d1_lib.c
index 0a4d790dd671ba25ae695ba969878bd07e6e37fd..d0165bd1be81ac01617fb62a68a30ebed450384c 100644
(file)
--- 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;