diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-04-20 11:33:12 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-04-20 11:33:12 +0000 |
commit | 8711efb4984b66a901b543d1b5d96fc5b6928d10 (patch) | |
tree | b50e619056ba3b0b29633e6cd1be98f8a6168134 /ssl/d1_lib.c | |
parent | e5fa864f62c096536d700d977a5eb924ad293304 (diff) |
Updates from 1.0.0-stable branch.
Diffstat (limited to 'ssl/d1_lib.c')
-rw-r--r-- | ssl/d1_lib.c | 5 |
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; } /* |