diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-04-19 18:03:13 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-04-19 18:03:13 +0000 |
commit | b452f43322d1a39cc23526948fe67918f0a034a7 (patch) | |
tree | 97a72ef33fda1db1b317c56e95ab2f6bb8e081f1 /ssl/d1_srvr.c | |
parent | 52891f832fe4693485efcd939de390065a752e43 (diff) |
PR: 1751
Submitted by: David Woodhouse <dwmw2@infradead.org>
Approved by: steve@openssl.org
Compatibility patches for Cisco VPN client DTLS.
Diffstat (limited to 'ssl/d1_srvr.c')
-rw-r--r-- | ssl/d1_srvr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/d1_srvr.c b/ssl/d1_srvr.c index ebd35c7161..666ab75d1d 100644 --- a/ssl/d1_srvr.c +++ b/ssl/d1_srvr.c @@ -292,7 +292,8 @@ int dtls1_accept(SSL *s) s->s3->tmp.next_state=SSL3_ST_SR_CLNT_HELLO_A; /* HelloVerifyRequest resets Finished MAC */ - ssl3_init_finished_mac(s); + if (s->version != DTLS1_BAD_VER) + ssl3_init_finished_mac(s); break; case SSL3_ST_SW_SRVR_HELLO_A: |