summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_srvr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/d1_srvr.c')
-rw-r--r--src/lib/libssl/d1_srvr.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/libssl/d1_srvr.c b/src/lib/libssl/d1_srvr.c
index 698292f33f..e41c119b9c 100644
--- a/src/lib/libssl/d1_srvr.c
+++ b/src/lib/libssl/d1_srvr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: d1_srvr.c,v 1.55 2015/06/18 22:51:05 doug Exp $ */ 1/* $OpenBSD: d1_srvr.c,v 1.56 2015/09/10 17:57:50 jsing Exp $ */
2/* 2/*
3 * DTLS implementation written by Nagendra Modadugu 3 * DTLS implementation written by Nagendra Modadugu
4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. 4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -335,11 +335,9 @@ dtls1_accept(SSL *s)
335 s->s3->tmp.next_state = SSL3_ST_SR_CLNT_HELLO_A; 335 s->s3->tmp.next_state = SSL3_ST_SR_CLNT_HELLO_A;
336 336
337 /* HelloVerifyRequest resets Finished MAC */ 337 /* HelloVerifyRequest resets Finished MAC */
338 if (s->version != DTLS1_BAD_VER) { 338 if (!ssl3_init_finished_mac(s)) {
339 if (!ssl3_init_finished_mac(s)) { 339 ret = -1;
340 ret = -1; 340 goto end;
341 goto end;
342 }
343 } 341 }
344 break; 342 break;
345 343