summaryrefslogtreecommitdiff
path: root/ssl/d1_srvr.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_srvr.c
parente5fa864f62c096536d700d977a5eb924ad293304 (diff)
downloadopenssl-new-8711efb4984b66a901b543d1b5d96fc5b6928d10.tar.gz
Updates from 1.0.0-stable branch.
Diffstat (limited to 'ssl/d1_srvr.c')
-rw-r--r--ssl/d1_srvr.c3
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: