From 8711efb4984b66a901b543d1b5d96fc5b6928d10 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 20 Apr 2009 11:33:12 +0000 Subject: Updates from 1.0.0-stable branch. --- ssl/d1_lib.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ssl/d1_lib.c') 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; } /* -- cgit v1.2.3