summaryrefslogtreecommitdiffstats
path: root/ssl/d1_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-04-20 11:33:12 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-04-20 11:33:12 +0000
commit8711efb4984b66a901b543d1b5d96fc5b6928d10 (patch)
treeb50e619056ba3b0b29633e6cd1be98f8a6168134 /ssl/d1_lib.c
parente5fa864f62c096536d700d977a5eb924ad293304 (diff)
Updates from 1.0.0-stable branch.
Diffstat (limited to 'ssl/d1_lib.c')
-rw-r--r--ssl/d1_lib.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c
index be47541440..712b880f91 100644
--- a/ssl/d1_lib.c
+++ b/ssl/d1_lib.c
@@ -176,7 +176,10 @@ void dtls1_free(SSL *s)
void dtls1_clear(SSL *s)
{
ssl3_clear(s);
- s->version=DTLS1_VERSION;
+ if (s->options & SSL_OP_CISCO_ANYCONNECT)
+ s->version=DTLS1_BAD_VER;
+ else
+ s->version=DTLS1_VERSION;
}
/*