diff options
author | Andy Polyakov <appro@openssl.org> | 2007-09-30 19:34:36 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2007-09-30 19:34:36 +0000 |
commit | 0d97d00b6c3b9625725a3e90fa04f3214a0d5da7 (patch) | |
tree | 53bd350f5b02fcbf9a3cd42ed07699a2e07fd864 /ssl/d1_srvr.c | |
parent | e7adda52b3e11f09500aa17f271fbeb8b64f14cc (diff) |
DTLS RFC4347 says HelloVerifyRequest resets Finished MAC.
Diffstat (limited to 'ssl/d1_srvr.c')
-rw-r--r-- | ssl/d1_srvr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/d1_srvr.c b/ssl/d1_srvr.c index 0cfcf99971..14fdcff03b 100644 --- a/ssl/d1_srvr.c +++ b/ssl/d1_srvr.c @@ -286,6 +286,9 @@ int dtls1_accept(SSL *s) s->d1->send_cookie = 0; s->state=SSL3_ST_SW_FLUSH; s->s3->tmp.next_state=SSL3_ST_SR_CLNT_HELLO_A; + + /* HelloVerifyRequest resets Finished MAC */ + ssl3_init_finished_mac(s); break; case SSL3_ST_SW_SRVR_HELLO_A: |