diff options
Diffstat (limited to 'src/lib/libssl/d1_lib.c')
-rw-r--r-- | src/lib/libssl/d1_lib.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/libssl/d1_lib.c b/src/lib/libssl/d1_lib.c index e7eca4a8cd..708f3d7206 100644 --- a/src/lib/libssl/d1_lib.c +++ b/src/lib/libssl/d1_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_lib.c,v 1.30 2015/09/10 15:56:26 jsing Exp $ */ | 1 | /* $OpenBSD: d1_lib.c,v 1.31 2015/09/10 17:57:50 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
@@ -246,10 +246,8 @@ dtls1_clear(SSL *s) | |||
246 | } | 246 | } |
247 | 247 | ||
248 | ssl3_clear(s); | 248 | ssl3_clear(s); |
249 | if (s->options & SSL_OP_CISCO_ANYCONNECT) | 249 | |
250 | s->version = DTLS1_BAD_VER; | 250 | s->version = DTLS1_VERSION; |
251 | else | ||
252 | s->version = DTLS1_VERSION; | ||
253 | } | 251 | } |
254 | 252 | ||
255 | long | 253 | long |